hotspot/test/compiler/ciReplay/TestSA.sh
changeset 17387 201ce4a5360b
parent 17123 a8e62eed2e3e
child 25375 03eaa1688625
--- a/hotspot/test/compiler/ciReplay/TestSA.sh	Mon May 13 14:36:39 2013 -0700
+++ b/hotspot/test/compiler/ciReplay/TestSA.sh	Wed May 15 22:44:52 2013 +0400
@@ -77,10 +77,11 @@
         "replay data wasn't generated by SA"
 fi
 
-diff --brief ${replay_data} replay_vm.txt
-if [ $? -ne 0 ]
+diff ${replay_data} replay_vm.txt > replay.diff 2>&1
+if [ -s replay.diff ]
 then
-    echo WARNING: replay.txt from SA != replay.txt from VM
+    echo WARNING: replay.txt from SA != replay.txt from VM:
+    cat replay.diff
 fi
 
 common_tests 10