Diffstat (limited to 'tests/setup.sh')
| -rwxr-xr-x | tests/setup.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index 1457dd5..e37306e 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -31,13 +31,6 @@ mkrepo() { git add file-$n git commit -m "commit $n" done - if test "$3" = "testplus" - then - echo "hello" >a+b - git add a+b - git commit -m "add a+b" - git branch "1+2" - fi cd $dir } @@ -47,7 +40,6 @@ setup_repos() mkdir -p trash/cache mkrepo trash/repos/foo 5 >/dev/null mkrepo trash/repos/bar 50 >/dev/null - mkrepo trash/repos/foo+bar 10 testplus >/dev/null cat >trash/cgitrc <<EOF virtual-root=/ cache-root=$PWD/trash/cache @@ -69,10 +61,6 @@ repo.path=$PWD/trash/repos/foo/.git repo.url=bar repo.path=$PWD/trash/repos/bar/.git repo.desc=the bar repo - -repo.url=foo+bar -repo.path=$PWD/trash/repos/foo+bar/.git -repo.desc=the foo+bar repo EOF } @@ -125,3 +113,4 @@ cgit_url() { CGIT_CONFIG="$PWD/trash/cgitrc" QUERY_STRING="url=$1" "$PWD/../cgit" } + |