##// END OF EJS Templates
Add permissions handling test
Matt Mackall -
r1497:f0b13c01 default
parent child Browse files
Show More
@@ -0,0 +1,15 b''
1 #!/bin/sh
2
3 hg init
4 echo foo > a
5 hg add a
6 hg commit -m "1" -d "0 0"
7 hg verify
8 chmod -r .hg/data/a.d
9 hg verify 2>/dev/null || echo verify failed
10 chmod +r .hg/data/a.d
11 hg verify 2>/dev/null || echo verify failed
12 chmod -w .hg/data/a.d
13 echo barber > a
14 hg commit -m "2" -d "0 0" 2>/dev/null || echo commit failed
15
@@ -0,0 +1,16 b''
1 checking changesets
2 checking manifests
3 crosschecking files in changesets and manifests
4 checking files
5 1 files, 1 changesets, 1 total revisions
6 checking changesets
7 checking manifests
8 crosschecking files in changesets and manifests
9 checking files
10 verify failed
11 checking changesets
12 checking manifests
13 crosschecking files in changesets and manifests
14 checking files
15 1 files, 1 changesets, 1 total revisions
16 commit failed
General Comments 0
You need to be logged in to leave comments. Login now