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

[Libguestfs] [PATCH] fish: Filter out error messages about history file in test script



---
 fish/test-guestfish-escapes.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fish/test-guestfish-escapes.sh b/fish/test-guestfish-escapes.sh
index 73f41d5..c6b8577 100755
--- a/fish/test-guestfish-escapes.sh
+++ b/fish/test-guestfish-escapes.sh
@@ -50,7 +50,7 @@ EOF
 # Since trace and debug output also goes to stderr, we must
 # remove it before testing.
 mv test.error test.error.old
-grep -v '^libguestfs: ' < test.error.old > test.error
+< test.error.old grep -v '^libguestfs: ' | grep -vF "$HOME/.guestfish:" > test.error
 
 if [ "$(cat test.error)" != "\
 guestfish: invalid escape sequence in string (starting at offset 0)
-- 
1.7.8.3


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