diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2009-01-20 12:03:40 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2009-01-20 12:03:40 +0000 |
commit | 0466ff28f23f4c430906efd5859f87672cf08782 (patch) | |
tree | 748ea1aa76c2f98bcf467afe72db4a242a6ae26d /tests/start | |
parent | Thread local error reporting (diff) | |
download | libvirt-0466ff28f23f4c430906efd5859f87672cf08782.tar.gz libvirt-0466ff28f23f4c430906efd5859f87672cf08782.tar.bz2 libvirt-0466ff28f23f4c430906efd5859f87672cf08782.zip |
Fix actual vs expected data comparison order to get correct diff +++/--- output
Diffstat (limited to 'tests/start')
-rwxr-xr-x | tests/start | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/start b/tests/start index a436f9b3e..f457d5939 100755 --- a/tests/start +++ b/tests/start @@ -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 |