]> arthur.barton.de Git - bup.git/commitdiff
t/test-meta.sh: fix xattr.set test broken by path output on error.
authorRob Browning <rlb@defaultvalue.org>
Wed, 26 Mar 2014 23:47:59 +0000 (18:47 -0500)
committerRob Browning <rlb@defaultvalue.org>
Thu, 27 Mar 2014 00:59:51 +0000 (19:59 -0500)
This was broken by 21eab6b52fcf65827e21ca33fd3349157993053c, and I
(obviously) didn't test as root before pushing.

Thanks to Mark J Hewitt <mjh@idnet.com> for the report.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
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 $?