##// END OF EJS Templates
tests: fix for test-identify returning 255
Dirkjan Ochtman -
r7759:50baf821 default
parent child Browse files
Show More
@@ -1,42 +1,44 b''
1 #!/bin/sh
1 #!/bin/sh
2
2
3 echo % no repo
3 echo % no repo
4 hg id
4 hg id
5
5
6 echo % create repo
6 echo % create repo
7 hg init test
7 hg init test
8 cd test
8 cd test
9 echo a > a
9 echo a > a
10 hg ci -Ama
10 hg ci -Ama
11
11
12 echo % basic id usage
12 echo % basic id usage
13 hg id
13 hg id
14 hg id --debug
14 hg id --debug
15 hg id -q
15 hg id -q
16 hg id -v
16 hg id -v
17
17
18 echo % with options
18 echo % with options
19 hg id -r.
19 hg id -r.
20 hg id -n
20 hg id -n
21 hg id -t
21 hg id -t
22 hg id -b
22 hg id -b
23 hg id -i
23 hg id -i
24 hg id -n -t -b -i
24 hg id -n -t -b -i
25
25
26 echo % with modifications
26 echo % with modifications
27 echo b > a
27 echo b > a
28 hg id -n -t -b -i
28 hg id -n -t -b -i
29
29
30 echo % other local repo
30 echo % other local repo
31 cd ..
31 cd ..
32 hg -R test id
32 hg -R test id
33 hg id test
33 hg id test
34
34
35 echo % with remote http repo
35 echo % with remote http repo
36 cd test
36 cd test
37 hg serve -p $HGPORT1 -d --pid-file=hg.pid
37 hg serve -p $HGPORT1 -d --pid-file=hg.pid
38 cat hg.pid >> $DAEMON_PIDS
38 cat hg.pid >> $DAEMON_PIDS
39 hg id http://localhost:$HGPORT1/
39 hg id http://localhost:$HGPORT1/
40
40
41 echo % remote with tags?
41 echo % remote with tags?
42 hg id -t http://localhost:$HGPORT1/
42 hg id -t http://localhost:$HGPORT1/
43
44 true # ends with util.Abort -> returns 255
General Comments 0
You need to be logged in to leave comments. Login now