]> granicus.if.org Git - strace/commitdiff
tests/nsyscall-d.test: swap exp and log in diff calls
authorEugene Syromyatnikov <evgsyr@gmail.com>
Fri, 9 Feb 2018 20:48:16 +0000 (21:48 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 10 Feb 2018 00:01:01 +0000 (00:01 +0000)
In line with the rest of the tests.

* tests/nsyscalls-d.test: swap arguments of match_diff calls.

tests/nsyscalls-d.test

index 206aa7ee77bd3fe6fa922e2d1a7ec25beaf44e7f..2cca32f1063154e79d5cf1ae6b90b6177aca3092 100755 (executable)
@@ -22,5 +22,5 @@ run_strace $debug_flag -e trace=$syscall ../$NAME "$STRACE_EXE" 9 \
 
 grep "invalid syscall" "$LOG-err-all" > "$LOG-err"
 
-match_diff "$EXP" "$LOG"
-match_diff "$EXP-err" "$LOG-err"
+match_diff "$LOG" "$EXP"
+match_diff "$LOG-err" "$EXP-err"