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