]> arthur.barton.de Git - bup.git/blobdiff - t/test.sh
Be more careful when testing that repeated saves can produce the same tree.
[bup.git] / t / test.sh
index 3656689e0343944893ede400951fb84738d12684..83528458dac9fd417d787bc5d279979abbefb4f5 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -123,19 +123,6 @@ WVPASSEQ "$(cd $D && bup index -m)" \
 f
 a
 ./"
-tree1=$(bup save -t $D) || WVFAIL
-WVPASSEQ "$(cd $D && bup index -m)" ""
-tree2=$(bup save -t $D) || WVFAIL
-if ! [[ $(uname) =~ CYGWIN ]]; then
-    # On Cygwin, the access time may change.
-    WVPASSEQ "$tree1" "$tree2"
-fi
-WVPASSEQ "$(bup index -s / | grep ^D)" ""
-tree3=$(bup save -t /) || WVFAIL
-if ! [[ $(uname) =~ CYGWIN ]]; then
-    # On Cygwin, the access time may change.
-    WVPASSEQ "$tree1" "$tree3"
-fi
 WVPASS bup save -r :$BUP_DIR -n r-test $D
 WVFAIL bup save -r :$BUP_DIR/fake/path -n r-test $D
 WVFAIL bup save -r :$BUP_DIR -n r-test $D/fake/path