##// END OF EJS Templates
tests: fix test-patch.t on pickier /bin/sh implementations...
Augie Fackler -
r38104:0b39edef default
parent child Browse files
Show More
@@ -92,7 +92,12 b' Clone and apply patch:'
92
92
93 Error exit (issue4746)
93 Error exit (issue4746)
94
94
95 $ hg import ../c/p --config ui.patch='sh -c "exit 1"'
95 $ cat >> exit1.py <<EOF
96 > import sys
97 > sys.exit(1)
98 > EOF
99
100 $ hg import ../c/p --config ui.patch="$PYTHON '`pwd`/exit1.py'"
96 applying ../c/p
101 applying ../c/p
97 abort: patch command failed: exited with status 1
102 abort: patch command failed: exited with status 1
98 [255]
103 [255]
General Comments 0
You need to be logged in to leave comments. Login now