Fei Jie | 68a58a3 | 2016-03-01 16:55:35 +0800 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Check uname syscall decoding. | ||||
4 | |||||
5 | . "${srcdir=.}/init.sh" | ||||
6 | |||||
Fei Jie | fb22306 | 2016-03-11 10:43:02 +0800 | [diff] [blame] | 7 | check_prog uniq |
8 | |||||
JayRJoshi | d2029cc | 2016-03-24 12:39:32 +0530 | [diff] [blame] | 9 | run_prog > /dev/null |
Fei Jie | fb22306 | 2016-03-11 10:43:02 +0800 | [diff] [blame] | 10 | run_strace -v -euname $args > "$EXP" |
11 | uniq < "$LOG" > "$OUT" | ||||
JayRJoshi | d2029cc | 2016-03-24 12:39:32 +0530 | [diff] [blame] | 12 | |
Dmitry V. Levin | 579a4aa | 2016-03-30 00:13:56 +0000 | [diff] [blame] | 13 | run_prog "./$NAME" abbrev > /dev/null |
JayRJoshi | d2029cc | 2016-03-24 12:39:32 +0530 | [diff] [blame] | 14 | run_strace -euname $args >> "$EXP" |
15 | uniq < "$LOG" >> "$OUT" | ||||
16 | |||||
Fei Jie | fb22306 | 2016-03-11 10:43:02 +0800 | [diff] [blame] | 17 | match_diff "$OUT" "$EXP" |
18 | rm -f "$OUT" "$EXP" |