comparison tests/test-hgwebdir.t @ 17015:73d20de5f30b

tests: add missing no-outer-repo requirements Outer repos (if any) will now never be touched by the tests. But it is better to run without any repos around the tmp directory.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 20 Jun 2012 23:41:21 +0200
parents 287f76b3f502
children 953faba28e91
comparison
equal deleted inserted replaced
17014:50fbe9063ff2 17015:73d20de5f30b
1 $ "$TESTDIR/hghave" serve || exit 80 1 $ "$TESTDIR/hghave" serve || exit 80
2
3 hide outer repo and work in dir without '.hg'
4 $ hg init
5 $ mkdir dir
6 $ cd dir
2 7
3 Tests some basic hgwebdir functionality. Tests setting up paths and 8 Tests some basic hgwebdir functionality. Tests setting up paths and
4 collection, different forms of 404s and the subdirectory support. 9 collection, different forms of 404s and the subdirectory support.
5 10
6 $ mkdir webdir 11 $ mkdir webdir
57 62
58 $ hg init nostore 63 $ hg init nostore
59 $ rm -R nostore/.hg/store 64 $ rm -R nostore/.hg/store
60 $ root=`pwd` 65 $ root=`pwd`
61 $ cd .. 66 $ cd ..
67
68 serve
62 $ cat > paths.conf <<EOF 69 $ cat > paths.conf <<EOF
63 > [paths] 70 > [paths]
64 > a=$root/a 71 > a=$root/a
65 > b=$root/b 72 > b=$root/b
66 > EOF 73 > EOF