tests/md: Fix error path to display the correct output.

This commit is contained in:
Richard W.M. Jones
2013-08-12 17:48:08 +01:00
parent 4cc99ea2e9
commit 42abbf0969

View File

@@ -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