aboutsummaryrefslogtreecommitdiff
path: root/tests/setup.sh
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'tests/setup.sh')
-rwxr-xr-xtests/setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index e3c6c17..1e06107 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -15,14 +15,13 @@
# run_test 'repo index' 'cgit_url "/" | tidy -e'
# run_test 'repo summary' 'cgit_url "/foo" | tidy -e'
-unset CDPATH
mkrepo() {
name=$1
count=$2
dir=$PWD
test -d "$name" && return
- printf "Creating testrepo %s\n" "$name"
+ printf "Creating testrepo %s\n" $name
mkdir -p "$name"
cd "$name"
git init
@@ -41,7 +40,7 @@ mkrepo() {
git commit -m "add a+b"
git branch "1+2"
fi
- cd "$dir"
+ cd $dir
}
setup_repos()