tests/qual_fault.test: swap expected/output files in match_diff calls
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 21 May 2018 00:35:45 +0000 (02:35 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 21 May 2018 11:02:54 +0000 (11:02 +0000)
match_diff expects the first argument as strace output and the second
argument as expected output.

* tests/qual_fault.test (check_fault_injection): Swap arguments
in match_diff calls.

tests/qual_fault.test

index 12b0a850983ee128e755f1bec025aaa2d4a6073c..5e5681cbdcce1deddb611ca534c159b738bb1054 100755 (executable)
@@ -87,8 +87,8 @@ check_fault_injection()
        do
                pid=$(cat "$outpid.$i")
 
-               match_diff "$outout.$i" "$LOG.$pid"
-               match_diff "$outexp.$i" "$outgot.$i"
+               match_diff "$LOG.$pid" "$outout.$i"
+               match_diff "$outgot.$i" "$outexp.$i"
        done
 }