##// 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 742 $ hg add f1
743 743 $ hg com -m "m1"
744 744 $ cd ..
745 $ hg serve -R r1 -d -p 8001 --pid-file serve.pid
746 $ hg --config extensions.largefiles=! clone http://localhost:8001 r2
745 $ hg serve -R r1 -d -p $HGPORT --pid-file serve.pid
746 $ hg --config extensions.largefiles=! clone http://localhost:$HGPORT r2
747 747 requesting all changes
748 748 adding changesets
749 749 adding manifests
@@ -754,8 +754,8 b' vanilla clients not locked out from larg'
754 754 $ kill `cat serve.pid`
755 755
756 756 largefiles clients still work with vanilla servers
757 $ hg --config extensions.largefiles=! serve -R r1 -d -p 8001 --pid-file serve.pid
758 $ hg clone http://localhost:8001 r3
757 $ hg --config extensions.largefiles=! serve -R r1 -d -p $HGPORT --pid-file serve.pid
758 $ hg clone http://localhost:$HGPORT r3
759 759 requesting all changes
760 760 adding changesets
761 761 adding manifests
@@ -773,8 +773,8 b' vanilla clients locked out from largefil'
773 773 $ hg add --large f1
774 774 $ hg com -m "m1"
775 775 $ cd ..
776 $ hg serve -R r4 -d -p 8001 --pid-file serve.pid
777 $ hg --config extensions.largefiles=! clone http://localhost:8001 r5
776 $ hg serve -R r4 -d -p $HGPORT --pid-file serve.pid
777 $ hg --config extensions.largefiles=! clone http://localhost:$HGPORT r5
778 778 abort: remote error:
779 779
780 780 This repository uses the largefiles extension.
@@ -812,11 +812,11 b' largefiles clients refuse to push largef'
812 812 $ echo c2 > f2
813 813 $ hg add --large f2
814 814 $ hg com -m "m2"
815 $ hg --config extensions.largefiles=! -R ../r6 serve -d -p 8001 --pid-file ../serve.pid
816 $ hg push http://localhost:8001
817 pushing to http://localhost:8001/
815 $ hg --config extensions.largefiles=! -R ../r6 serve -d -p $HGPORT --pid-file ../serve.pid
816 $ hg push http://localhost:$HGPORT
817 pushing to http://localhost:$HGPORT/
818 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 820 [255]
821 821 $ cd ..
822 822 $ kill `cat serve.pid`
General Comments 0
You need to be logged in to leave comments. Login now