From 715afda3416080ef9ee961f3ebcff7ef16cfc986 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 13 Nov 2012 15:16:49 +0000 Subject: 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. --- fish/Makefile.am | 2 ++ fish/test-remote-events.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit