##// END OF EJS Templates
test-journal-exists: use #if
Adrian Buehlmann -
r16959:acba1281 default
parent child Browse files
Show More
@@ -1,5 +1,3 b''
1 $ "$TESTDIR/hghave" unix-permissions || exit 80
2
3 $ hg init
1 $ hg init
4 $ echo a > a
2 $ echo a > a
5 $ hg ci -Am0
3 $ hg ci -Am0
@@ -24,6 +22,7 b''
24
22
25 Check that zero-size journals are correctly aborted:
23 Check that zero-size journals are correctly aborted:
26
24
25 #if unix-permissions
27 $ hg bundle -qa repo.hg
26 $ hg bundle -qa repo.hg
28 $ chmod -w foo/.hg/store/00changelog.i
27 $ chmod -w foo/.hg/store/00changelog.i
29
28
@@ -33,4 +32,5 b' Check that zero-size journals are correc'
33 [255]
32 [255]
34
33
35 $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi
34 $ if test -f foo/.hg/store/journal; then echo 'journal exists :-('; fi
35 #endif
36
36
General Comments 0
You need to be logged in to leave comments. Login now