tests/test-push-http.t
changeset 17466 d5a3bda6e170
parent 17456 59a168019255
child 17565 f62ed3d90377
equal deleted inserted replaced
17465:2d4a096e213c 17466:d5a3bda6e170
    15   $ req() {
    15   $ req() {
    16   >     hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
    16   >     hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log
    17   >     cat hg.pid >> $DAEMON_PIDS
    17   >     cat hg.pid >> $DAEMON_PIDS
    18   >     hg --cwd ../test2 push http://localhost:$HGPORT/
    18   >     hg --cwd ../test2 push http://localhost:$HGPORT/
    19   >     exitstatus=$?
    19   >     exitstatus=$?
    20   >     "$TESTDIR/killdaemons.py"
    20   >     "$TESTDIR/killdaemons.py" $DAEMON_PIDS
    21   >     echo % serve errors
    21   >     echo % serve errors
    22   >     cat errors.log
    22   >     cat errors.log
    23   >     return $exitstatus
    23   >     return $exitstatus
    24   > }
    24   > }
    25   $ cd ../test
    25   $ cd ../test