Fix actual vs expected data comparison order to get correct diff +++/--- output

This commit is contained in:
Daniel P. Berrange
2009-01-20 12:03:40 +00:00
parent ead04dcbe8
commit 0466ff28f2
6 changed files with 16 additions and 10 deletions

View File

@@ -34,9 +34,9 @@ virsh -c $test_url start test > out 2> err && fail=1
# stdout gets a newline
echo > exp || fail=1
compare out exp || fail=1
compare exp out || fail=1
echo 'error: Domain is already active' > exp || fail=1
compare err exp || fail=1
compare exp err || fail=1
(exit $fail); exit $fail