From 42abbf096932bd1e6c9c1bef64f602a67107d088 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 12 Aug 2013 17:48:08 +0100 Subject: [PATCH] tests/md: Fix error path to display the correct output. --- tests/md/test-list-filesystems.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/md/test-list-filesystems.sh b/tests/md/test-list-filesystems.sh index 5ef34b21e..934e44063 100755 --- a/tests/md/test-list-filesystems.sh +++ b/tests/md/test-list-filesystems.sh @@ -73,7 +73,7 @@ expected="/dev/sda1: ext3 # Check the output of list-filesystems if [ "$(cat list-fs.output)" != "$expected" ]; then echo "$0: error: output of list-filesystems did not match expected output" - printf "%s\n" "$output" + cat list-fs.output exit 1; fi