Mercurial > hg
comparison tests/test-hgwebdir @ 5586:b90b72729a72
hgwebdir: test virtual paths leading or trailing separators are stripped
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 02 Dec 2007 19:39:29 +0100 |
parents | f429e0e067a8 |
children | 8279cb841467 |
comparison
equal
deleted
inserted
replaced
5585:b34028d52e7e | 5586:b90b72729a72 |
---|---|
41 echo % should give a 404 - repo is not published | 41 echo % should give a 404 - repo is not published |
42 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/c/file/tip/c?style=raw' | 42 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/c/file/tip/c?style=raw' |
43 | 43 |
44 cat > paths.conf <<EOF | 44 cat > paths.conf <<EOF |
45 [paths] | 45 [paths] |
46 t/a=$root/a | 46 t/a/=$root/a |
47 b=$root/b | 47 b=$root/b |
48 EOF | 48 EOF |
49 | 49 |
50 hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \ | 50 hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \ |
51 -A access-paths.log -E error-paths.log | 51 -A access-paths.log -E error-paths.log |