##// END OF EJS Templates
Fix accidentally broken test.
Bryan O'Sullivan -
r5386:8051549a default
parent child Browse files
Show More
@@ -18,7 +18,7 b' cd ../test'
18 18 echo % expect ssl error
19 19 hg serve -p $HGPORT -d --pid-file=hg.pid
20 20 cat hg.pid >> $DAEMON_PIDS
21 hg --cwd ../test2 push http://localhost:$HGPORT/
21 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
22 22 kill `cat hg.pid`
23 23
24 24 echo % expect authorization error
@@ -26,14 +26,14 b" echo '[web]' > .hg/hgrc"
26 26 echo 'push_ssl = false' >> .hg/hgrc
27 27 hg serve -p $HGPORT -d --pid-file=hg.pid
28 28 cat hg.pid >> $DAEMON_PIDS
29 hg --cwd ../test2 push http://localhost:$HGPORT/
29 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
30 30 kill `cat hg.pid`
31 31
32 32 echo % expect authorization error: must have authorized user
33 33 echo 'allow_push = unperson' >> .hg/hgrc
34 34 hg serve -p $HGPORT -d --pid-file=hg.pid
35 35 cat hg.pid >> $DAEMON_PIDS
36 hg --cwd ../test2 push http://localhost:$HGPORT/
36 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
37 37 kill `cat hg.pid`
38 38
39 39 echo % expect success
@@ -42,7 +42,7 b" echo '[hooks]' >> .hg/hgrc"
42 42 echo 'changegroup = python ../printenv.py changegroup 0 ../urls' >> .hg/hgrc
43 43 hg serve -p $HGPORT -d --pid-file=hg.pid
44 44 cat hg.pid >> $DAEMON_PIDS
45 hg --cwd ../test2 push http://localhost:$HGPORT/
45 hg --cwd ../test2 push http://localhost:$HGPORT/ | sed -e 's,:[0-9][0-9]*/,/,'
46 46 kill `cat hg.pid`
47 47 hg rollback
48 48
@@ -1,19 +1,19 b''
1 1 adding a
2 2 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
3 3 % expect ssl error
4 pushing to http://localhost:23451/
4 pushing to http://localhost/
5 5 searching for changes
6 6 ssl required
7 7 % expect authorization error
8 pushing to http://localhost:23451/
8 pushing to http://localhost/
9 9 searching for changes
10 10 push not authorized
11 11 % expect authorization error: must have authorized user
12 pushing to http://localhost:23451/
12 pushing to http://localhost/
13 13 searching for changes
14 14 push not authorized
15 15 % expect success
16 pushing to http://localhost:23451/
16 pushing to http://localhost/
17 17 searching for changes
18 18 adding changesets
19 19 adding manifests
General Comments 0
You need to be logged in to leave comments. Login now