##// END OF EJS Templates
blackbox: don't run permission tests on non-unix systems...
Durham Goode -
r19082:63dda3c3 stable
parent child Browse files
Show More
@@ -64,6 +64,8 b' we must not cause a failure if we cannot'
64
64
65 $ hg rollback
65 $ hg rollback
66 repository tip rolled back to revision 1 (undo pull)
66 repository tip rolled back to revision 1 (undo pull)
67
68 #if unix-permissions
67 $ chmod 000 .hg/blackbox.log
69 $ chmod 000 .hg/blackbox.log
68 $ hg --debug incoming
70 $ hg --debug incoming
69 warning: cannot write to blackbox.log: Permission denied
71 warning: cannot write to blackbox.log: Permission denied
@@ -85,6 +87,7 b' we must not cause a failure if we cannot'
85 c
87 c
86
88
87
89
90 #endif
88 $ hg pull
91 $ hg pull
89 pulling from $TESTTMP/blackboxtest (glob)
92 pulling from $TESTTMP/blackboxtest (glob)
90 searching for changes
93 searching for changes
@@ -95,12 +98,13 b' we must not cause a failure if we cannot'
95 (run 'hg update' to get a working copy)
98 (run 'hg update' to get a working copy)
96
99
97 a failure reading from the log is fine
100 a failure reading from the log is fine
98
101 #if unix-permissions
99 $ hg blackbox -l 3
102 $ hg blackbox -l 3
100 abort: Permission denied: $TESTTMP/blackboxtest2/.hg/blackbox.log
103 abort: Permission denied: $TESTTMP/blackboxtest2/.hg/blackbox.log
101 [255]
104 [255]
102
105
103 $ chmod 600 .hg/blackbox.log
106 $ chmod 600 .hg/blackbox.log
107 #endif
104
108
105 backup bundles get logged
109 backup bundles get logged
106
110
General Comments 0
You need to be logged in to leave comments. Login now