Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check how strace -f follows fork syscall. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
7 | run_prog > /dev/null | ||||
8 | OUT="$LOG.out" | ||||
Dmitry V. Levin | 6833d61 | 2016-01-08 00:44:04 +0000 | [diff] [blame] | 9 | run_strace -a26 -qq -f -echdir -esignal=none $args > "$OUT" |
Dmitry V. Levin | 78db0f2 | 2015-12-30 23:00:43 +0000 | [diff] [blame] | 10 | match_diff "$LOG" "$OUT" |
11 | rm -f "$OUT" | ||||
12 | |||||
13 | exit 0 |