##// END OF EJS Templates
tests: expect return status 255 on exception for test-blackbox.t with chg...
Kyle Lippincott -
r44242:e6cda6ef default
parent child Browse files
Show More
@@ -57,8 +57,15 b' abort exit code'
57 57
58 58 unhandled exception
59 59 $ rm ./.hg/blackbox.log
60 $ hg crash 2> /dev/null
60 #if chg
61 (chg exits 255 because it fails to receive an exit code)
62 $ hg crash 2>/dev/null
63 [255]
64 #else
65 (hg exits 1 because Python default exit code for uncaught exception is 1)
66 $ hg crash 2>/dev/null
61 67 [1]
68 #endif
62 69 $ hg blackbox -l 2
63 70 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> crash exited 1 after * seconds (glob)
64 71 1970/01/01 00:00:00 bob @0000000000000000000000000000000000000000 (5000)> blackbox -l 2
General Comments 0
You need to be logged in to leave comments. Login now