##// END OF EJS Templates
tests: unify test-schemes
Matt Mackall -
r12486:95b4af4e default
parent child Browse files
Show More
@@ -1,30 +1,45 b''
1 #!/bin/sh
2
1
3 cat <<EOF >> $HGRCPATH
2 $ cat <<EOF >> $HGRCPATH
4 [extensions]
3 > [extensions]
5 schemes=
4 > schemes=
6
5 >
7 [schemes]
6 > [schemes]
8 l = http://localhost:$HGPORT/
7 > l = http://localhost:$HGPORT/
9 parts = http://{1}:$HGPORT/
8 > parts = http://{1}:$HGPORT/
10 z = file:\$PWD/
9 > z = file:\$PWD/
11 EOF
10 > EOF
11 $ hg init test
12 $ cd test
13 $ echo a > a
14 $ hg ci -Am initial
15 adding a
16 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
17 $ cat hg.pid >> $DAEMON_PIDS
18 $ hg incoming l://
19 comparing with l://
20 searching for changes
21 no changes found
22 [1]
12
23
13 hg init test
24 check that {1} syntax works
14 cd test
15 echo a > a
16 hg ci -Am initial
17
25
18 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
26 $ hg incoming --debug parts://localhost
19 cat hg.pid >> $DAEMON_PIDS
27 using http://localhost:*/ (glob)
28 sending between command
29 comparing with parts://localhost
30 sending heads command
31 searching for changes
32 no changes found
33 [1]
20
34
21 hg incoming l://
35 check that paths are expanded
22
23 echo % check that {1} syntax works
24 hg incoming --debug parts://localhost | sed 's/[0-9]//g'
25
36
26 echo % check that paths are expanded
37 $ PWD=`pwd` hg incoming z://
27 PWD=`pwd` hg incoming z://
38 comparing with z://
39 searching for changes
40 no changes found
41 [1]
28
42
29 echo % errors
43 errors
30 cat errors.log
44
45 $ cat errors.log
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now