Home | History | Annotate | Download | only in tests
      1 #!/bin/sh
      2 
      3 # Check how -o '|pipe' works.
      4 
      5 . "${srcdir=.}/init.sh"
      6 
      7 check_prog grep
      8 run_prog grep chdir $srcdir/umovestr.expected > "$EXP"
      9 run_prog ../umovestr
     10 
     11 $STRACE -o "|cat > $LOG && $SLEEP_A_BIT && grep chdir < $LOG > $OUT" -e chdir $args ||
     12 	dump_log_and_fail_with "$STRACE $args failed"
     13 
     14 match_diff "$OUT" "$EXP"
     15