[Libguestfs] [PATCH 43/67] tests/md: Fix error path to display the correct output.
Richard W.M. Jones
rjones at redhat.com
Sat Aug 24 11:04:43 UTC 2013
From: "Richard W.M. Jones" <rjones at redhat.com>
(cherry picked from commit 42abbf096932bd1e6c9c1bef64f602a67107d088)
---
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 642e033..b4e41e9 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 test.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
--
1.8.3.1
More information about the Libguestfs
mailing list