strace/tests/opipe.test
Eugene Syromyatnikov 56f3d28453 tests/opipe.test: remove unneeded run_prog call
There is no need to invoke grep using run_prog.

* tests/opipe.test: Remove run_prog decoration for the grep invocation.
2018-06-04 16:18:14 +00:00

15 lines
311 B
Bash
Executable File

#!/bin/sh
# Check how -o '|pipe' works.
. "${srcdir=.}/init.sh"
check_prog grep
grep chdir $srcdir/umovestr.expected > "$EXP"
run_prog ../umovestr
$STRACE -o "|cat > $LOG && $SLEEP_A_BIT && grep chdir < $LOG > $OUT" -e chdir $args ||
dump_log_and_fail_with "$STRACE $args failed"
match_diff "$OUT" "$EXP"