equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 # Test chains of near empty directories, terminating 3 different ways: |
|
3 # - a1: file at level 4 (deepest) |
|
4 # - b1: two dirs at level 3 |
|
5 # - e1: file at level 2 |
|
6 |
|
7 echo % Set up the repo |
|
8 hg init test |
|
9 cd test |
|
10 mkdir -p a1/a2/a3/a4 |
|
11 mkdir -p b1/b2/b3/b4 |
|
12 mkdir -p b1/b2/c3/c4 |
|
13 mkdir -p d1/d2/d3/d4 |
|
14 echo foo > a1/a2/a3/a4/foo |
|
15 echo foo > b1/b2/b3/b4/foo |
|
16 echo foo > b1/b2/c3/c4/foo |
|
17 echo foo > d1/d2/d3/d4/foo |
|
18 echo foo > d1/d2/foo |
|
19 hg ci -Ama |
|
20 |
|
21 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
22 cat hg.pid >> $DAEMON_PIDS |
|
23 |
|
24 echo % manifest with descending |
|
25 "$TESTDIR/get-with-headers.py" 127.0.0.1:$HGPORT '/file' |
|
26 |
|
27 echo % ERRORS ENCOUNTERED |
|
28 cat errors.log |