tests/test-hgweb.t
changeset 38204 d6aa1fc8292f
parent 38203 c2e3bc99fba4
child 38205 9ed3527019b5
equal deleted inserted replaced
38203:c2e3bc99fba4 38204:d6aa1fc8292f
   806   <a href="/file/tip/?style=paper">[up]</a>
   806   <a href="/file/tip/?style=paper">[up]</a>
   807   $ get-with-headers.py localhost:$HGPORT 'file/tip?style=coal' | grep -F '[up]'
   807   $ get-with-headers.py localhost:$HGPORT 'file/tip?style=coal' | grep -F '[up]'
   808   [1]
   808   [1]
   809   $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]'
   809   $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=coal' | grep -F '[up]'
   810   <a href="/file/tip/?style=coal">[up]</a>
   810   <a href="/file/tip/?style=coal">[up]</a>
       
   811   $ get-with-headers.py localhost:$HGPORT 'file/tip?style=gitweb' | grep -F '[up]'
       
   812   [1]
       
   813   $ get-with-headers.py localhost:$HGPORT 'file/tip/da?style=gitweb' | grep -F '[up]'
       
   814   <a href="/file/tip/?style=gitweb">[up]</a>
   811 
   815 
   812 no style can be loaded from directories other than the specified paths
   816 no style can be loaded from directories other than the specified paths
   813 
   817 
   814   $ mkdir -p x/templates/fallback
   818   $ mkdir -p x/templates/fallback
   815   $ cat <<EOF > x/templates/fallback/map
   819   $ cat <<EOF > x/templates/fallback/map