# HG changeset patch # User Yuya Nishihara # Date 1346857123 -32400 # Node ID 2212af23c9de1ab0404339c80f3570b3859d30fd # Parent 97899a01d3e57787c572847cda9a7e7ccb78adcc test-push-http: include exit status of hg push diff -r 97899a01d3e5 -r 2212af23c9de tests/test-push-http.t --- a/tests/test-push-http.t Thu Sep 06 15:53:59 2012 +0200 +++ b/tests/test-push-http.t Wed Sep 05 23:58:43 2012 +0900 @@ -16,9 +16,11 @@ > hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log > cat hg.pid >> $DAEMON_PIDS > hg --cwd ../test2 push http://localhost:$HGPORT/ + > exitstatus=$? > "$TESTDIR/killdaemons.py" > echo % serve errors > cat errors.log + > return $exitstatus > } $ cd ../test @@ -31,6 +33,7 @@ remote: ssl required updating cb9a9f314b8b to public failed! % serve errors + [1] expect authorization error @@ -41,6 +44,7 @@ searching for changes abort: authorization failed % serve errors + [255] expect authorization error: must have authorized user @@ -50,6 +54,7 @@ searching for changes abort: authorization failed % serve errors + [255] expect success @@ -110,6 +115,7 @@ searching for changes abort: authorization failed % serve errors + [255] expect authorization error: some users denied, users must be authenticated @@ -119,5 +125,6 @@ searching for changes abort: authorization failed % serve errors + [255] $ cd ..