##// 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 65 $ hg rollback
66 66 repository tip rolled back to revision 1 (undo pull)
67
68 #if unix-permissions
67 69 $ chmod 000 .hg/blackbox.log
68 70 $ hg --debug incoming
69 71 warning: cannot write to blackbox.log: Permission denied
@@ -85,6 +87,7 b' we must not cause a failure if we cannot'
85 87 c
86 88
87 89
90 #endif
88 91 $ hg pull
89 92 pulling from $TESTTMP/blackboxtest (glob)
90 93 searching for changes
@@ -95,12 +98,13 b' we must not cause a failure if we cannot'
95 98 (run 'hg update' to get a working copy)
96 99
97 100 a failure reading from the log is fine
98
101 #if unix-permissions
99 102 $ hg blackbox -l 3
100 103 abort: Permission denied: $TESTTMP/blackboxtest2/.hg/blackbox.log
101 104 [255]
102 105
103 106 $ chmod 600 .hg/blackbox.log
107 #endif
104 108
105 109 backup bundles get logged
106 110
General Comments 0
You need to be logged in to leave comments. Login now