]> arthur.barton.de Git - bup.git/blobdiff - t/test.sh
README.md: mention workaround for pwd test issue
[bup.git] / t / test.sh
index 2483222da8ea9a23e9b3cccce7987134b176fd8c..b48b1b681c41f312b0440324fafcd1d88fb9bba1 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -235,9 +235,9 @@ WVPASS force-delete buprestore.tmp
 WVPASS bup restore -C buprestore.tmp "/master/latest/$tmpdir/$D/"
 WVPASS touch $D/non-existent-file buprestore.tmp/non-existent-file # else diff fails
 WVPASS diff -ur $D/ buprestore.tmp/
-rm -f split_empty_string.tmp
-WVPASS bup restore split_empty_string.tmp/latest/split_empty_string.tmp
-WVPASSEQ "$(cat split_empty_string.tmp)" ""
+WVPASS force-delete buprestore.tmp
+WVPASS bup restore -C buprestore.tmp split_empty_string.tmp/latest/
+WVPASSEQ "$(cat buprestore.tmp/data)" ""
 
 (
     tmp=testrestore.tmp