Dmitry V. Levin
6c93254614
* tests/tee.c: New file. * tests/tee.test: New test. * tests/.gitignore: Add tee. * tests/Makefile.am (check_PROGRAMS): Likewise. (TESTS): Add tee.test.
12 lines
173 B
Bash
Executable File
12 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Check tee syscall decoding.
|
|
|
|
. "${srcdir=.}/init.sh"
|
|
|
|
run_prog > /dev/null
|
|
OUT="$LOG.out"
|
|
run_strace -etee $args > "$OUT"
|
|
match_diff "$LOG" "$OUT"
|
|
rm -f "$OUT"
|