diff options
Diffstat (limited to 'xdelta1/runtest')
-rw-r--r-- | xdelta1/runtest | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/xdelta1/runtest b/xdelta1/runtest deleted file mode 100644 index 1088d7b..0000000 --- a/xdelta1/runtest +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | OUT1=$TMPDIR/out1 | ||
4 | OUT2=$TMPDIR/out2 | ||
5 | OUT3=$TMPDIR/out3 | ||
6 | XDELTA=./xdelta | ||
7 | |||
8 | while test $# -gt 1; do | ||
9 | |||
10 | FROM=$1 | ||
11 | TO=$2 | ||
12 | |||
13 | shift | ||
14 | |||
15 | if test -d $FROM -o -d $TO; then | ||
16 | BOGUS=what | ||
17 | else | ||
18 | echo testing $FROM $TO ... | ||
19 | $XDELTA delta -q0 $FROM $TO $OUT1 | ||
20 | $XDELTA patch $OUT1 $FROM $OUT2 | ||
21 | cmp $OUT2 $TO | ||
22 | |||
23 | echo testing $TO $FROM ... | ||
24 | $XDELTA delta -q0 $TO $FROM $OUT1 | ||
25 | $XDELTA patch $OUT1 $TO $OUT2 | ||
26 | cmp $OUT2 $FROM | ||
27 | |||
28 | echo testing $TO $TO ... | ||
29 | $XDELTA delta -q0 $TO $TO $OUT1 | ||
30 | $XDELTA patch $OUT1 $TO $OUT2 | ||
31 | cmp $OUT2 $TO | ||
32 | |||
33 | echo testing $FROM $TO ... | ||
34 | $XDELTA delta -q6 $FROM $TO $OUT1 | ||
35 | $XDELTA patch $OUT1 $FROM $OUT2 | ||
36 | cmp $OUT2 $TO | ||
37 | |||
38 | echo testing $TO $FROM ... | ||
39 | $XDELTA delta -q6 $TO $FROM $OUT1 | ||
40 | $XDELTA patch $OUT1 $TO $OUT2 | ||
41 | cmp $OUT2 $FROM | ||
42 | |||
43 | echo testing $TO $TO ... | ||
44 | $XDELTA delta -q6 $TO $TO $OUT1 | ||
45 | $XDELTA patch $OUT1 $TO $OUT2 | ||
46 | cmp $OUT2 $TO | ||
47 | fi | ||
48 | done; | ||