tests/test-push-http.t
changeset 25472 4d2b9b304ad0
parent 25405 220a220ed088
child 25474 8c14f87bd0ae
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
    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" $DAEMON_PIDS
    20   >     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