]> Cypherpunks repositories - gostls13.git/commitdiff
test/run: diff old new
authorRuss Cox <rsc@golang.org>
Tue, 3 Aug 2010 20:01:28 +0000 (13:01 -0700)
committerRuss Cox <rsc@golang.org>
Tue, 3 Aug 2010 20:01:28 +0000 (13:01 -0700)
R=r, iant
CC=golang-dev
https://golang.org/cl/1907046

test/run
test/run-arm

index 241e550263cd36a5b11c21e620136f5cebcb04d0..b01bdca2deb5ec1966e4bd2b92221c2c2556ddbc 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -99,7 +99,7 @@ done | # clean up some stack noise
 
 rm  -f $RUNFILE $TMP1FILE $TMP2FILE *.$A $A.out
 diffmsg=""
-if ! diff run.out golden.out
+if ! diff golden.out run.out
 then
        diffmsg="; test output differs"
        failed=1
index c7545ae0e9e52aba1c9d63b1a886ed08500d615f..2cf2d5685be2ebdeff414481fac3494d66c44c8f 100755 (executable)
@@ -84,7 +84,7 @@ done | # clean up some stack noise
 failed=0
 rm  -f $RUNFILE $TMP1FILE $TMP2FILE *.$A $A.out
 diffmsg=""
-if ! diff -b run.out golden-arm.out
+if ! diff -b golden-arm.out run.out
 then
        diffmsg="; test output differs"
        failed=1