X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=t%2Ftest-on.sh;fp=t%2Ftest-on.sh;h=9943b888850c4ed207e5a08cffaccbecc525a267;hb=2c2c28e4a3d21f0c5497f69cac2dd45b929f2e69;hp=61e6dd847d037556ef97b5d14965e6581f5b3a30;hpb=81ffb830a2fec70a8346142f6396309e3b635e5d;p=bup.git diff --git a/t/test-on.sh b/t/test-on.sh index 61e6dd8..9943b88 100755 --- a/t/test-on.sh +++ b/t/test-on.sh @@ -22,7 +22,7 @@ WVPASS date > src/bar WVPASS bup random 1k > src/baz WVPASS bup on - index src WVPASS bup on - save -ctn src src > get.log -WVPASSEQ "$(cat get.log | wc -l)" 2 +WVPASSEQ $(WVPASS cat get.log | WVPASS wc -l) 2 tree_id=$(WVPASS awk 'FNR == 1' get.log) || exit $? commit_id=$(WVPASS awk 'FNR == 2' get.log) || exit $? WVPASS git ls-tree "$tree_id"