summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-11-22 09:54:48 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-11-22 09:56:01 +0000
commit784e53287e18c324dda9c4cc93b9aae4790eb909 (patch)
treeb6a7a4f316e77de196d5f8339d8c77b937d88cd6
parent9fb5a3ceaffd88aaf37b5253e540626457319d24 (diff)
downloadlibguestfs-784e53287e18c324dda9c4cc93b9aae4790eb909.tar.gz
libguestfs-784e53287e18c324dda9c4cc93b9aae4790eb909.tar.xz
libguestfs-784e53287e18c324dda9c4cc93b9aae4790eb909.zip
fish: Fix test-remote-events test.
Because the shell script was missing a space, the final output test was failing, although for some reason this didn't cause the whole test to fail. Fixing the missing space also revealed a bug in the test output, which is also fixed.
-rwxr-xr-xfish/test-remote-events.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/test-remote-events.sh b/fish/test-remote-events.sh
index 978b2c73..41c2596c 100755
--- a/fish/test-remote-events.sh
+++ b/fish/test-remote-events.sh
@@ -35,7 +35,7 @@ fi
# Test close event (RHBZ#802389).
output="$(./guestfish --remote quit)"
-if [ "$output" != '"closed"']; then
+if [ "$output" != "closed" ]; then
echo "$0: close event failed:"
echo "$output"
exit 1