##// END OF EJS Templates
tests: use pdiff instead of diff for portability...
FUJIWARA Katsunori -
r33614:798f7bea stable
parent child Browse files
Show More
@@ -47,21 +47,21 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 > diff -u before after || echo "*** overwrite corruption"
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 > diff -u before after || echo "*** append corruption"
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 > diff -u before after || echo "*** read-only corruption"
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 > diff -u before after || echo "*** missing corruption"
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