##// END OF EJS Templates
tests: cat error messages are different on Solaris
Danek Duvall -
r21930:a5168eb9 stable
parent child Browse files
Show More
@@ -168,6 +168,8 b' utestpats = ['
168 168 (r'^ .*: largefile \S+ not available from file:.*/.*[^)]$', winglobmsg),
169 169 (r'^ .*file://\$TESTTMP',
170 170 'write "file:/*/$TESTTMP" + (glob) to match on windows too'),
171 (r'^ (cat|find): .*: No such file or directory',
172 'use test -f to test for file existence'),
171 173 ],
172 174 # warnings
173 175 [
@@ -233,8 +233,7 b' check saving last-message.txt, at first'
233 233 > EOF
234 234 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
235 235 abort: emulating unexpected abort
236 $ cat .hg/last-message.txt
237 cat: .hg/last-message.txt: No such file or directory
236 $ test -f .hg/last-message.txt
238 237 [1]
239 238
240 239 $ cat >> .hg/hgrc <<EOF
@@ -165,8 +165,7 b" Ensure that .hg/largefiles isn't created"
165 165 $ chmod 755 .hg
166 166 #endif
167 167
168 $ find .hg/largefiles
169 find: `.hg/largefiles': No such file or directory
168 $ test -f .hg/largefiles
170 169 [1]
171 170
172 171 ancestor is "normal":
@@ -182,8 +182,7 b" and that combination of '--edit' and '--"
182 182 refresh interrupted while patch was popped! (revert --all, qpush to recover)
183 183 abort: emulating unexpected abort
184 184 [255]
185 $ cat .hg/last-message.txt
186 cat: .hg/last-message.txt: No such file or directory
185 $ test -f .hg/last-message.txt
187 186 [1]
188 187
189 188 (reset applied patches and directory status)
@@ -268,8 +268,7 b' Test saving last-message.txt'
268 268 $ HGEDITOR="sh $TESTTMP/editor.sh" hg qnew -e patch
269 269 abort: emulating unexpected abort
270 270 [255]
271 $ cat .hg/last-message.txt
272 cat: .hg/last-message.txt: No such file or directory
271 $ test -f .hg/last-message.txt
273 272 [1]
274 273
275 274 (test that editor is invoked and commit message is saved into
@@ -133,8 +133,7 b' Test saving last-message.txt:'
133 133 refresh interrupted while patch was popped! (revert --all, qpush to recover)
134 134 abort: emulating unexpected abort
135 135 [255]
136 $ cat .hg/last-message.txt
137 cat: .hg/last-message.txt: No such file or directory
136 $ test -f .hg/last-message.txt
138 137 [1]
139 138
140 139 (reset applied patches and directory status)
@@ -672,11 +672,9 b' Test sanitizing ".hg/hgrc" in subrepo'
672 672 $ cd tc
673 673 $ grep ' s$' .hgsubstate
674 674 16 s
675 $ cat s/.hg/hgrc
676 cat: s/.hg/hgrc: No such file or directory
675 $ test -f s/.hg/hgrc
677 676 [1]
678 $ cat s/sub/.hg/hgrc
679 cat: s/sub/.hg/hgrc: No such file or directory
677 $ test -f s/sub/.hg/hgrc
680 678 [1]
681 679
682 680 Test that sanitizing is omitted in meta data area:
@@ -242,8 +242,7 b' at first, test saving last-message.txt'
242 242 $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg tag custom-tag -e
243 243 abort: pretag.test-saving-lastmessage hook exited with status 1
244 244 [255]
245 $ cat .hg/last-message.txt
246 cat: .hg/last-message.txt: No such file or directory
245 $ test -f .hg/last-message.txt
247 246 [1]
248 247
249 248 (test that editor is invoked and commit message is saved into
General Comments 0
You need to be logged in to leave comments. Login now