home · contact · privacy
test_server.sh: Save test's savestate in ./testing/ instead of its diff.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 03:25:38 +0000 (04:25 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 10 Mar 2015 03:25:38 +0000 (04:25 +0100)
test_server.sh

index 46e5201fa324f495315cd678c7aaf6253a0b363c..01e354a8dbb56db5a7e8a34a4ca47251fd8d218d 100755 (executable)
@@ -21,8 +21,7 @@ done
 
 echo "Server has quit. Here's the diff of final '_test' to reference save file"
 echo "./testing/ref_end (TEST WENT WELL IF NO LINES FOLLOW):"
-diff _test testing/ref_end > ./testing/diff
-cat ./testing/diff
+mv _test testing/last_end
+diff testing/last_end testing/ref_end
 
-rm _test
 rm record__test