diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-11-13 15:16:49 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-11-13 15:26:29 +0000 |
commit | 715afda3416080ef9ee961f3ebcff7ef16cfc986 (patch) | |
tree | b33b9deb7b2c4e31f7dccded643060de368fd11f /fish | |
parent | 5c44c691f2c288e04571b54c1b6844402f9865e4 (diff) | |
download | libguestfs-715afda3416080ef9ee961f3ebcff7ef16cfc986.tar.gz libguestfs-715afda3416080ef9ee961f3ebcff7ef16cfc986.tar.xz libguestfs-715afda3416080ef9ee961f3ebcff7ef16cfc986.zip |
fish: Add test for remote events.
This test was present in git, but not included in the tarball,
nor in the tests that guestfish actually runs.
This fixes commit 17182af3a6de8e3e94e0a914416c54f09bb74007.
Diffstat (limited to 'fish')
-rw-r--r-- | fish/Makefile.am | 2 | ||||
-rwxr-xr-x | fish/test-remote-events.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/fish/Makefile.am b/fish/Makefile.am index 08002967..aa1b0980 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -264,6 +264,7 @@ TESTS += \ test-prep.sh \ test-read-file.sh \ test-remote.sh \ + test-remote-events.sh \ test-reopen.sh \ test-run.sh \ test-stringlist.sh \ @@ -288,6 +289,7 @@ EXTRA_DIST += \ test-prep.sh \ test-read-file.sh \ test-remote.sh \ + test-remote-events.sh \ test-reopen.sh \ test-run.sh \ test-stringlist.sh \ diff --git a/fish/test-remote-events.sh b/fish/test-remote-events.sh index bf96db69..978b2c73 100755 --- a/fish/test-remote-events.sh +++ b/fish/test-remote-events.sh @@ -25,7 +25,7 @@ eval "$(./guestfish --listen)" ./guestfish --remote event close_event close "echo closed" output="$(./guestfish --remote list-events)" -if [ "$output" != '"close_event": (0): close: echo closed' ]; then +if [ "$output" != '"close_event" (0): close: echo closed' ]; then echo "$0: list-events failed:" echo "$output" ./guestfish --remote exit |