From: Rob Browning Date: Wed, 26 Mar 2014 23:47:59 +0000 (-0500) Subject: t/test-meta.sh: fix xattr.set test broken by path output on error. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c8c1f0341c82f4abf4d3f8eed1fe4ddfa4a48493;p=packages%2Fb%2Fbup.git t/test-meta.sh: fix xattr.set test broken by path output on error. This was broken by 21eab6b52fcf65827e21ca33fd3349157993053c, and I (obviously) didn't test as root before pushing. Thanks to Mark J Hewitt for the report. Signed-off-by: Rob Browning --- diff --git a/t/test-meta.sh b/t/test-meta.sh index 4f8c0c4..31cd772 100755 --- a/t/test-meta.sh +++ b/t/test-meta.sh @@ -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 $?