##// END OF EJS Templates
tests: clarify that duplicate flag processors is not an error...
Martin von Zweigbergk -
r33616:41081364 stable
parent child Browse files
Show More
@@ -152,6 +152,8 b''
152 $ hg commit -Aqm 'fail+base64+gzip+noop'
152 $ hg commit -Aqm 'fail+base64+gzip+noop'
153 abort: missing processor for flag '0x1'!
153 abort: missing processor for flag '0x1'!
154 [255]
154 [255]
155 $ hg forget fail-base64-gzip-noop
156 $ rm fail-base64-gzip-noop
155
157
156 # TEST: ensure we cannot register several flag processors on the same flag
158 # TEST: ensure we cannot register several flag processors on the same flag
157 $ cat >> .hg/hgrc << EOF
159 $ cat >> .hg/hgrc << EOF
@@ -162,8 +164,6 b''
162 $ echo 'this should fail' > file
164 $ echo 'this should fail' > file
163 $ hg commit -Aqm 'add file'
165 $ hg commit -Aqm 'add file'
164 *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
166 *** failed to set up extension duplicate: cannot register multiple processors on flag '0x8'.
165 abort: missing processor for flag '0x1'!
166 [255]
167
167
168 $ cd ..
168 $ cd ..
169
169
General Comments 0
You need to be logged in to leave comments. Login now