test/bin-test/test-dav-sync.sh

changeset 774
8c8aed7e1756
parent 773
78e501f6370d
equal deleted inserted replaced
773:78e501f6370d 774:8c8aed7e1756
90 } 90 }
91 91
92 # 92 #
93 # ok, begin the tests 93 # ok, begin the tests
94 # 94 #
95 #do_test "dav-sync push (1)" test-dav-sync-push1.sh 95 do_test "dav-sync push (1)" test-dav-sync-push1.sh
96 #do_test "dav-sync pull (1)" test-dav-sync-pull1.sh 96 do_test "dav-sync pull (1)" test-dav-sync-pull1.sh
97 #do_test "dav-sync pull conflict (1)" test-dav-sync-pull-conflict.sh 97 do_test "dav-sync pull conflict (1)" test-dav-sync-pull-conflict.sh
98 #do_test "dav-sync push conflict (1)" test-dav-sync-push-conflict.sh 98 do_test "dav-sync push conflict (1)" test-dav-sync-push-conflict.sh
99 #do_test "dav-sync hashing (1)" test-dav-sync-hashing1.sh 99 do_test "dav-sync hashing (1)" test-dav-sync-hashing1.sh
100 #do_test "dav-sync hashing (2)" test-dav-sync-hashing1.sh 100 do_test "dav-sync hashing (2)" test-dav-sync-hashing1.sh
101 #do_test "dav-sync hash strategy" test-dav-sync-hash-strategy.sh 101 do_test "dav-sync hash strategy" test-dav-sync-hash-strategy.sh
102 #do_test "dav-sync hash conflict resolution" test-dav-sync-hash-conflictres.sh 102 do_test "dav-sync hash conflict resolution" test-dav-sync-hash-conflictres.sh
103 #do_test "dav-sync hashing change cfg" test-dav-sync-hashing-cfgchange.sh 103 do_test "dav-sync hashing change cfg" test-dav-sync-hashing-cfgchange.sh
104 #do_test "dav-sync metadata (1)" test-dav-sync-metadata1.sh 104 do_test "dav-sync metadata (1)" test-dav-sync-metadata1.sh
105 #do_test "dav-sync metadata (2)" test-dav-sync-metadata2.sh 105 do_test "dav-sync metadata (2)" test-dav-sync-metadata2.sh
106 #do_test "dav-sync metadata (3)" test-dav-sync-metadata3.sh 106 do_test "dav-sync metadata (3)" test-dav-sync-metadata3.sh
107 #do_test "dav-sync metadata (4)" test-dav-sync-metadata4.sh 107 do_test "dav-sync metadata (4)" test-dav-sync-metadata4.sh
108 do_test "dav-sync versioning (1)" test-dav-sync-versioning1.sh 108 do_test "dav-sync versioning (1)" test-dav-sync-versioning1.sh
109 do_test "dav-sync split (1)" test-dav-sync-split1.sh 109 do_test "dav-sync split (1)" test-dav-sync-split1.sh
110 do_test "dav-sync symlink (1)" test-dav-sync-symlink1.sh 110 do_test "dav-sync symlink (1)" test-dav-sync-symlink1.sh
111 111
112 # cleanup 112 # cleanup
113 $DAV_BIN rm dav-test-repo/sync/test1 > /dev/null 2>&1 113
114 $DAV_BIN rm dav-test-repo/sync/ > /dev/null 2>&1
114 if [ $? -ne 0 ]; then 115 if [ $? -ne 0 ]; then
115 echo "cleanup failed" 116 echo "cleanup failed"
116 exit 2 117 exit 2
117 fi 118 fi
118 119

mercurial