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 | |
Elliott Hughes | 39bac05 | 2017-05-25 16:56:11 -0700 | [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" |