tests: handle paths with whitespace v2: incorporate remarks of Lukas Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Ferry Huberts ferry.huberts@pelagic.nl
Sun, 18 Mar 2012 11:43:49 +0100
2 files changed,
2 insertions(+),
2 deletions(-)
M
tests/setup.sh
→
tests/setup.sh
@@ -41,7 +41,7 @@ git add a+b
git commit -m "add a+b" git branch "1+2" fi - cd $dir + cd "$dir" } setup_repos()
M
tests/t0108-patch.sh
→
tests/t0108-patch.sh
@@ -25,7 +25,7 @@ tail -1 trash/tmp | grep -e "^cgit"
' run_test 'find initial commit' ' - root=$(git --git-dir=$PWD/trash/repos/foo/.git rev-list HEAD | tail -1) + root=$(git --git-dir="$PWD/trash/repos/foo/.git" rev-list HEAD | tail -1) ' run_test 'generate patch for initial commit' '