about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorFerry Huberts2012-03-18 11:43:50 +0100
committerLars Hjemli2012-03-18 10:54:50 +0000
commit561959cffa3de67986d193469b77c8db0d307400 (patch)
treeb849ba81862cad5f2e728daae7a75d9d326fee1f /tests
parenttests: handle paths with whitespace (diff)
downloadcgit-561959cffa3de67986d193469b77c8db0d307400.tar.gz
cgit-561959cffa3de67986d193469b77c8db0d307400.zip
tests: properly quote arguments to printf
v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/setup.sh b/tests/setup.sh index f5774e3..651f940 100755 --- a/tests/setup.sh +++ b/tests/setup.sh
@@ -22,7 +22,7 @@ mkrepo() {
22 count=$2 22 count=$2
23 dir=$PWD 23 dir=$PWD
24 test -d "$name" && return 24 test -d "$name" && return
25 printf "Creating testrepo %s\n" $name 25 printf "Creating testrepo %s\n" "$name"
26 mkdir -p "$name" 26 mkdir -p "$name"
27 cd "$name" 27 cd "$name"
28 git init 28 git init