summary refs log tree commit diff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-10-26 12:26:28 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-10-26 21:34:31 +0200
commit900805a8fe5cfa799966c4ef221524e967c44ca5 (patch)
tree7d9c300c885b401473513c5820a64f7e62800b41 /tools/test.sh
parent9dec866d2cdfcd076b91b7216e74646a004efb43 (diff)
downloadroux-900805a8fe5cfa799966c4ef221524e967c44ca5.tar.gz
use unified diff format for test output
This make it easier to understand the differences.
Diffstat (limited to 'tools/test.sh')
-rwxr-xr-xtools/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.sh b/tools/test.sh
index c02b784..c5e5b37 100755
--- a/tools/test.sh
+++ b/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