summaryrefslogtreecommitdiffstats
path: root/fish
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-12-23 08:28:26 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-12-23 08:28:26 +0000
commitb5f90793026832889cae3d4997810cb34777cf9a (patch)
treef66aca2078e87073df50b61308aacbcdefd54f2f /fish
parent2ac869bcc86fbf0dd7e878f10a2b60769a58c962 (diff)
downloadlibguestfs-b5f90793026832889cae3d4997810cb34777cf9a.tar.gz
libguestfs-b5f90793026832889cae3d4997810cb34777cf9a.tar.xz
libguestfs-b5f90793026832889cae3d4997810cb34777cf9a.zip
fish: Fix test-guestfish-events.sh so it works when LIBGUESTFS_DEBUG=1 is set.
Various messages were added and changed when this variable was set while tests were running.
Diffstat (limited to 'fish')
-rwxr-xr-xfish/test-guestfish-events.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/fish/test-guestfish-events.sh b/fish/test-guestfish-events.sh
index ad6fefe4..4d301b0f 100755
--- a/fish/test-guestfish-events.sh
+++ b/fish/test-guestfish-events.sh
@@ -22,7 +22,7 @@ set -e
rm -f test.out
-../fish/guestfish -a /dev/null <<'EOF' > test.out
+../fish/guestfish -a /dev/null <<'EOF' | grep -v get_verbose | grep -v get_trace | grep -v 'library .*0x' > test.out
trace true
event ev1 * "echo $EVENT $@"
@@ -53,12 +53,6 @@ if [ "$(cat test.out)" != '"ev1" (0): *: echo $EVENT $@
"ev1" (1): *: echo $EVENT $@
"ev2" (2): *: echo $EVENT $@
"ev2" (2): *: echo $EVENT $@
-enter get_verbose
-trace get_verbose
-trace get_verbose = 0
-enter get_trace
-trace get_trace
-trace get_trace = 1
enter get_autosync
trace get_autosync
trace get_autosync = 1