浏览代码

use unified diff format for test output

This make it easier to understand the differences.
Michael Forney 4 年之前
父节点
当前提交
900805a8fe
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/test.sh

+ 1 - 1
tools/test.sh

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