Jelajahi Sumber

use unified diff format for test output

This make it easier to understand the differences.
Michael Forney 4 tahun lalu
induk
melakukan
900805a8fe
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      tools/test.sh

+ 1 - 1
tools/test.sh

@@ -137,7 +137,7 @@ once() {
 
 
 	if test -s $out
 	if test -s $out
 	then
 	then
-		$qemu $exe a b c | diff - $out
+		$qemu $exe a b c | diff -u - $out
 		ret=$?
 		ret=$?
 		reason="output"
 		reason="output"
 	else
 	else