tests: handle paths with whitespace

v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lh/pretty-blob-view
Ferry Huberts 12 years ago committed by Lars Hjemli
parent e032761a5e
commit f8492f79a3

@ -41,7 +41,7 @@ mkrepo() {
git commit -m "add a+b"
git branch "1+2"
fi
cd $dir
cd "$dir"
}
setup_repos()

@ -25,7 +25,7 @@ run_test 'find `cgit` signature' '
'
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' '

Loading…
Cancel
Save