[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] test-events.sh: ignore "trace get_path" line



The test would fail when LIBGUESTFS_PATH was not set.
---
 fish/test-events.sh |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fish/test-events.sh b/fish/test-events.sh
index 79957ed..d838b98 100755
--- a/fish/test-events.sh
+++ b/fish/test-events.sh
@@ -22,7 +22,7 @@ set -e
 
 rm -f test.out
 
-./guestfish -a /dev/null <<'EOF' | grep -v get_verbose | grep -v get_trace | grep -v 'library .*0x' | grep -v 'library command' > test.out
+./guestfish -a /dev/null <<'EOF' | grep -v get_verbose | grep -v get_trace | grep -v 'library .*0x' | grep -v 'library command' | grep -v 'get_path' > test.out
 trace true
 
 event ev1 * "echo $EVENT $@"
@@ -61,7 +61,6 @@ trace get_autosync
 trace get_autosync = 1
 enter get_path
 trace get_path
-trace get_path = "'$LIBGUESTFS_PATH'"
 enter get_pgroup
 trace get_pgroup
 trace get_pgroup = 0
-- 
1.7.10.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]