]> arthur.barton.de Git - bup.git/blobdiff - t/test-meta.sh
t/test-meta.sh: fix xattr.set test broken by path output on error.
[bup.git] / t / test-meta.sh
index 4f8c0c40a4c11190325fd26970c100cc6f0aad48..31cd772a569257093144bcd8a4a4dbd43e080def 100755 (executable)
@@ -715,7 +715,7 @@ if [ $(t/root-status) = root ]; then
             WVPASS cd testfs-limited/src-restore
             WVFAIL bup meta --extract --file ../../testfs/src.meta
             WVFAIL bup meta --extract --file ../../testfs/src.meta 2>&1 \
-                | WVPASS grep -e '^xattr\.set:' \
+                | WVPASS grep -e "^xattr\.set '" \
                 | WVPASS python -c \
                 'import sys; exit(not len(sys.stdin.readlines()) == 2)'
         ) || exit $?