2424
2525cd $SCRATCH_DIR /src
2626
27- @top_builddir@/casync $PARAMS list > $SCRATCH_DIR /test.list
28- @top_builddir@/casync $PARAMS mtree > $SCRATCH_DIR /test.mtree
29- @top_builddir@/casync $PARAMS digest > $SCRATCH_DIR /test.digest
30-
31- @top_builddir@/casync $PARAMS make $SCRATCH_DIR /test.catar
32- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.list
33- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.mtree
34- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.digest
35- @top_builddir@/test-calc-digest $DIGEST $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.digest2
36-
37- @top_builddir@/casync $PARAMS make $SCRATCH_DIR /test.caidx
38- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.list
39- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.mtree
40- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.digest
41-
42- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.catar.list
43- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.caidx.list
44- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test.catar.mtree
45- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test.caidx.mtree
27+ @top_builddir@/casync $PARAMS list > $SCRATCH_DIR /test.list
28+ @top_builddir@/casync $PARAMS mtree > $SCRATCH_DIR /test.mtree
29+ @top_builddir@/casync $PARAMS digest > $SCRATCH_DIR /test.digest
30+
31+ @top_builddir@/casync $PARAMS make $SCRATCH_DIR /test.catar
32+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.list
33+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.mtree
34+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.digest
35+ @top_builddir@/test-calc-digest $DIGEST $SCRATCH_DIR /test.catar > $SCRATCH_DIR /test.catar.digest2
36+
37+ @top_builddir@/casync $PARAMS $DIRS make $SCRATCH_DIR /test.caidx
38+ @top_builddir@/casync $PARAMS $DIRS list $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.list
39+ @top_builddir@/casync $PARAMS $DIRS mtree $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.mtree
40+ @top_builddir@/casync $PARAMS $DIRS digest $SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test.caidx.digest
41+
42+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.catar.list
43+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.caidx.list
44+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test.catar.mtree
45+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test.caidx.mtree
4646diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test.catar.digest
4747diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test.catar.digest2
4848diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test.caidx.digest
@@ -65,21 +65,21 @@ diff -ur --no-dereference . $SCRATCH_DIR/extract-caidx2
6565
6666set -e
6767
68- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.list
69- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.list
70- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.list
71- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.list
72- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.list
73- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.mtree
74- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.mtree
75- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.mtree
76- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.mtree
77- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.mtree
78- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.digest
79- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.digest
80- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.digest
81- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.digest
82- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.digest
68+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.list
69+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.list
70+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.list
71+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.list
72+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.list
73+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.mtree
74+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.mtree
75+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.mtree
76+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.mtree
77+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.mtree
78+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar > $SCRATCH_DIR /test.extract-catar.digest
79+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar2 > $SCRATCH_DIR /test.extract-catar2.digest
80+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-catar3 > $SCRATCH_DIR /test.extract-catar3.digest
81+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-caidx > $SCRATCH_DIR /test.extract-caidx.digest
82+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-caidx2 > $SCRATCH_DIR /test.extract-caidx2.digest
8383
8484diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.extract-catar.list
8585diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test.extract-catar2.list
@@ -107,14 +107,14 @@ diff -q $SCRATCH_DIR/test.digest $SCRATCH_DIR/test.extract-caidx2.digest
107107@top_builddir@/casync $PARAMS extract $SCRATCH_DIR /seek.catar $SCRATCH_DIR /extract-seek-catar casync/test-files
108108@top_builddir@/casync $PARAMS extract $SCRATCH_DIR /seek.caidx $SCRATCH_DIR /extract-seek-caidx casync/test-files
109109
110- @top_builddir@/casync $PARAMS mtree casync/test-files > $SCRATCH_DIR /original-seek.mtree
111- @top_builddir@/casync $PARAMS digest casync/test-files > $SCRATCH_DIR /original-seek.digest
112- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-seek-catar/test-files > $SCRATCH_DIR /extract-seek-catar.mtree
113- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-seek-catar/test-files > $SCRATCH_DIR /extract-seek-catar.digest
114- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-seek-caidx/test-files > $SCRATCH_DIR /extract-seek-caidx.mtree
115- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-seek-caidx/test-files > $SCRATCH_DIR /extract-seek-caidx.digest
116- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /seek.catar casync/test-files > $SCRATCH_DIR /extract-seek-catar-direct.digest
117- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /seek.caidx casync/test-files > $SCRATCH_DIR /extract-seek-caidx-direct.digest
110+ @top_builddir@/casync $PARAMS mtree casync/test-files > $SCRATCH_DIR /original-seek.mtree
111+ @top_builddir@/casync $PARAMS digest casync/test-files > $SCRATCH_DIR /original-seek.digest
112+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-seek-catar/test-files > $SCRATCH_DIR /extract-seek-catar.mtree
113+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-seek-catar/test-files > $SCRATCH_DIR /extract-seek-catar.digest
114+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /extract-seek-caidx/test-files > $SCRATCH_DIR /extract-seek-caidx.mtree
115+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /extract-seek-caidx/test-files > $SCRATCH_DIR /extract-seek-caidx.digest
116+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /seek.catar casync/test-files > $SCRATCH_DIR /extract-seek-catar-direct.digest
117+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /seek.caidx casync/test-files > $SCRATCH_DIR /extract-seek-caidx-direct.digest
118118
119119diff -q $SCRATCH_DIR /original-seek.digest $SCRATCH_DIR /extract-seek-catar.digest
120120diff -q $SCRATCH_DIR /original-seek.digest $SCRATCH_DIR /extract-seek-caidx.digest
@@ -129,38 +129,38 @@ diff -q $SCRATCH_DIR/original-seek.mtree $SCRATCH_DIR/extract-seek-caidx.mtree
129129export CASYNC_SSH_PATH=@top_srcdir@/test/pseudo-ssh
130130export CASYNC_REMOTE_PATH=@top_builddir@/casync
131131
132- @top_builddir@/casync $PARAMS list localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.list
133- @top_builddir@/casync $PARAMS mtree localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.mtree
134- @top_builddir@/casync $PARAMS digest localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.digest
135- @top_builddir@/casync $PARAMS list localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.list
136- @top_builddir@/casync $PARAMS mtree localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.mtree
137- @top_builddir@/casync $PARAMS digest localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.digest
132+ @top_builddir@/casync $PARAMS list localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.list
133+ @top_builddir@/casync $PARAMS mtree localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.mtree
134+ @top_builddir@/casync $PARAMS digest localhost:$SCRATCH_DIR /test.caidx > $SCRATCH_DIR /test-remote.caidx.digest
135+ @top_builddir@/casync $PARAMS list localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.list
136+ @top_builddir@/casync $PARAMS mtree localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.mtree
137+ @top_builddir@/casync $PARAMS digest localhost:$SCRATCH_DIR /test.catar > $SCRATCH_DIR /test-remote.catar.digest
138138
139- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test-remote.caidx.list
140- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test-remote.caidx.mtree
139+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test-remote.caidx.list
140+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test-remote.caidx.mtree
141141diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test-remote.caidx.digest
142- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test-remote.catar.list
143- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test-remote.catar.mtree
142+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test-remote.catar.list
143+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test-remote.catar.mtree
144144diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test-remote.catar.digest
145145
146146rm -rf $SCRATCH_DIR /default.castr
147147
148148@top_builddir@/casync $PARAMS make localhost:$SCRATCH_DIR /test2.caidx
149- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.list
150- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.mtree
151- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.digest
149+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.list
150+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.mtree
151+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test2.caidx > $SCRATCH_DIR /test2.caidx.digest
152152
153- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test2.caidx.list
154- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test2.caidx.mtree
153+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test2.caidx.list
154+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test2.caidx.mtree
155155diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test2.caidx.digest
156156
157157@top_builddir@/casync $PARAMS make localhost:$SCRATCH_DIR /test2.catar
158- @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.list
159- @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.mtree
160- @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.digest
158+ @top_builddir@/casync $PARAMS list $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.list
159+ @top_builddir@/casync $PARAMS mtree $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.mtree
160+ @top_builddir@/casync $PARAMS digest $SCRATCH_DIR /test2.catar > $SCRATCH_DIR /test2.catar.digest
161161
162- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test2.catar.list
163- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test2.catar.mtree
162+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test2.catar.list
163+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test2.catar.mtree
164164diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test2.catar.digest
165165
166166# ## Test HTTP Remoting
@@ -171,20 +171,20 @@ export CASYNC_PROTOCOL_PATH=@top_builddir@
171171
172172HTTP_PID=` @top_builddir@/notify-wait @top_srcdir@/test/http-server.py $SCRATCH_DIR $HTTP_PORT `
173173
174- @top_builddir@/casync $PARAMS list http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.list
175- @top_builddir@/casync $PARAMS mtree http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.mtree
176- @top_builddir@/casync $PARAMS digest http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.digest
174+ @top_builddir@/casync $PARAMS list http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.list
175+ @top_builddir@/casync $PARAMS mtree http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.mtree
176+ @top_builddir@/casync $PARAMS digest http://localhost:$HTTP_PORT /test2.caidx > $SCRATCH_DIR /test3.caidx.digest
177177
178- @top_builddir@/casync $PARAMS list http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.list
179- @top_builddir@/casync $PARAMS mtree http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.mtree
180- @top_builddir@/casync $PARAMS digest http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.digest
178+ @top_builddir@/casync $PARAMS list http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.list
179+ @top_builddir@/casync $PARAMS mtree http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.mtree
180+ @top_builddir@/casync $PARAMS digest http://localhost:$HTTP_PORT /test2.catar > $SCRATCH_DIR /test3.catar.digest
181181
182- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test3.caidx.list
183- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test3.caidx.mtree
182+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test3.caidx.list
183+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test3.caidx.mtree
184184diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test3.caidx.digest
185185
186- diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test3.catar.list
187- diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test3.catar.mtree
186+ diff -q $SCRATCH_DIR /test.list $SCRATCH_DIR /test3.catar.list
187+ diff -q $SCRATCH_DIR /test.mtree $SCRATCH_DIR /test3.catar.mtree
188188diff -q $SCRATCH_DIR /test.digest $SCRATCH_DIR /test3.catar.digest
189189
190190kill $HTTP_PID
0 commit comments