fish: Filter out error messages about history file in test script

This commit is contained in:
Hilko Bengen
2012-01-21 22:32:45 +01:00
committed by Richard W.M. Jones
parent b6e0552ee5
commit d4f7958487

View File

@@ -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)