##// END OF EJS Templates
test-push-http: include exit status of hg push
Yuya Nishihara -
r17455:2212af23 default
parent child Browse files
Show More
@@ -16,9 +16,11 b''
16 16 > hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
17 17 > cat hg.pid >> $DAEMON_PIDS
18 18 > hg --cwd ../test2 push http://localhost:$HGPORT/
19 > exitstatus=$?
19 20 > "$TESTDIR/killdaemons.py"
20 21 > echo % serve errors
21 22 > cat errors.log
23 > return $exitstatus
22 24 > }
23 25 $ cd ../test
24 26
@@ -31,6 +33,7 b' expect ssl error'
31 33 remote: ssl required
32 34 updating cb9a9f314b8b to public failed!
33 35 % serve errors
36 [1]
34 37
35 38 expect authorization error
36 39
@@ -41,6 +44,7 b' expect authorization error'
41 44 searching for changes
42 45 abort: authorization failed
43 46 % serve errors
47 [255]
44 48
45 49 expect authorization error: must have authorized user
46 50
@@ -50,6 +54,7 b' expect authorization error: must have au'
50 54 searching for changes
51 55 abort: authorization failed
52 56 % serve errors
57 [255]
53 58
54 59 expect success
55 60
@@ -110,6 +115,7 b' expect authorization error: all users de'
110 115 searching for changes
111 116 abort: authorization failed
112 117 % serve errors
118 [255]
113 119
114 120 expect authorization error: some users denied, users must be authenticated
115 121
@@ -119,5 +125,6 b' expect authorization error: some users d'
119 125 searching for changes
120 126 abort: authorization failed
121 127 % serve errors
128 [255]
122 129
123 130 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now