Show More
@@ -47,21 +47,21 b' Make a helper function to check cache da' | |||
|
47 | 47 | > echo bad > $CACHE |
|
48 | 48 | > test -z "$CLEAN" || $CLEAN |
|
49 | 49 | > hg $CMD > after |
|
50 |
> |
|
|
50 | > "$RUNTESTDIR/pdiff" before after || echo "*** overwrite corruption" | |
|
51 | 51 | > echo corruption >> $CACHE |
|
52 | 52 | > test -z "$CLEAN" || $CLEAN |
|
53 | 53 | > hg $CMD > after |
|
54 |
> |
|
|
54 | > "$RUNTESTDIR/pdiff" before after || echo "*** append corruption" | |
|
55 | 55 | > rm $CACHE |
|
56 | 56 | > mkdir $CACHE |
|
57 | 57 | > test -z "$CLEAN" || $CLEAN |
|
58 | 58 | > hg $CMD > after |
|
59 |
> |
|
|
59 | > "$RUNTESTDIR/pdiff" before after || echo "*** read-only corruption" | |
|
60 | 60 | > test -d $CACHE || echo "*** directory clobbered" |
|
61 | 61 | > rmdir $CACHE |
|
62 | 62 | > test -z "$CLEAN" || $CLEAN |
|
63 | 63 | > hg $CMD > after |
|
64 |
> |
|
|
64 | > "$RUNTESTDIR/pdiff" before after || echo "*** missing corruption" | |
|
65 | 65 | > test -f $CACHE || echo "not rebuilt" |
|
66 | 66 | > } |
|
67 | 67 |
General Comments 0
You need to be logged in to leave comments.
Login now