tests/test-http
changeset 9506 49b62395e910
parent 8167 6c82beaaa11a
child 10154 d4a62b6d4a58
equal deleted inserted replaced
9505:28b089ae4001 9506:49b62395e910
     3 cp "$TESTDIR"/printenv.py .
     3 cp "$TESTDIR"/printenv.py .
     4 
     4 
     5 hg init test
     5 hg init test
     6 cd test
     6 cd test
     7 echo foo>foo
     7 echo foo>foo
       
     8 mkdir foo.d foo.d/bAr.hg.d foo.d/baR.d.hg
       
     9 echo foo>foo.d/foo
       
    10 echo bar>foo.d/bAr.hg.d/BaR
       
    11 echo bar>foo.d/baR.d.hg/bAR
       
    12 
     8 hg commit -A -m 1
    13 hg commit -A -m 1
     9 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid
    14 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid
    10 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid
    15 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid
    11 # Test server address cannot be reused
    16 # Test server address cannot be reused
    12 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':20060':/"
    17 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':20060':/"