##// END OF EJS Templates
tests: make largefiles test use $HGPORT instead of 8001
Thomas Arendsen Hein -
r15377:107ff02b stable
parent child Browse files
Show More
@@ -742,8 +742,8 b' vanilla clients not locked out from larg'
742 $ hg add f1
742 $ hg add f1
743 $ hg com -m "m1"
743 $ hg com -m "m1"
744 $ cd ..
744 $ cd ..
745 $ hg serve -R r1 -d -p 8001 --pid-file serve.pid
745 $ hg serve -R r1 -d -p $HGPORT --pid-file serve.pid
746 $ hg --config extensions.largefiles=! clone http://localhost:8001 r2
746 $ hg --config extensions.largefiles=! clone http://localhost:$HGPORT r2
747 requesting all changes
747 requesting all changes
748 adding changesets
748 adding changesets
749 adding manifests
749 adding manifests
@@ -754,8 +754,8 b' vanilla clients not locked out from larg'
754 $ kill `cat serve.pid`
754 $ kill `cat serve.pid`
755
755
756 largefiles clients still work with vanilla servers
756 largefiles clients still work with vanilla servers
757 $ hg --config extensions.largefiles=! serve -R r1 -d -p 8001 --pid-file serve.pid
757 $ hg --config extensions.largefiles=! serve -R r1 -d -p $HGPORT --pid-file serve.pid
758 $ hg clone http://localhost:8001 r3
758 $ hg clone http://localhost:$HGPORT r3
759 requesting all changes
759 requesting all changes
760 adding changesets
760 adding changesets
761 adding manifests
761 adding manifests
@@ -773,8 +773,8 b' vanilla clients locked out from largefil'
773 $ hg add --large f1
773 $ hg add --large f1
774 $ hg com -m "m1"
774 $ hg com -m "m1"
775 $ cd ..
775 $ cd ..
776 $ hg serve -R r4 -d -p 8001 --pid-file serve.pid
776 $ hg serve -R r4 -d -p $HGPORT --pid-file serve.pid
777 $ hg --config extensions.largefiles=! clone http://localhost:8001 r5
777 $ hg --config extensions.largefiles=! clone http://localhost:$HGPORT r5
778 abort: remote error:
778 abort: remote error:
779
779
780 This repository uses the largefiles extension.
780 This repository uses the largefiles extension.
@@ -812,11 +812,11 b' largefiles clients refuse to push largef'
812 $ echo c2 > f2
812 $ echo c2 > f2
813 $ hg add --large f2
813 $ hg add --large f2
814 $ hg com -m "m2"
814 $ hg com -m "m2"
815 $ hg --config extensions.largefiles=! -R ../r6 serve -d -p 8001 --pid-file ../serve.pid
815 $ hg --config extensions.largefiles=! -R ../r6 serve -d -p $HGPORT --pid-file ../serve.pid
816 $ hg push http://localhost:8001
816 $ hg push http://localhost:$HGPORT
817 pushing to http://localhost:8001/
817 pushing to http://localhost:$HGPORT/
818 searching for changes
818 searching for changes
819 abort: http://localhost:8001/ does not appear to be a largefile store
819 abort: http://localhost:$HGPORT/ does not appear to be a largefile store
820 [255]
820 [255]
821 $ cd ..
821 $ cd ..
822 $ kill `cat serve.pid`
822 $ kill `cat serve.pid`
General Comments 0
You need to be logged in to leave comments. Login now