mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
tests: handle paths with whitespace
v2: incorporate remarks of Lukas Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
This commit is contained in:
parent
e032761a5e
commit
f8492f79a3
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue