mirror of
https://git.zx2c4.com/cgit
synced 2024-11-09 18:18:42 +00: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
@ -41,7 +41,7 @@ mkrepo() {
|
|||||||
git commit -m "add a+b"
|
git commit -m "add a+b"
|
||||||
git branch "1+2"
|
git branch "1+2"
|
||||||
fi
|
fi
|
||||||
cd $dir
|
cd "$dir"
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_repos()
|
setup_repos()
|
||||||
|
@ -25,7 +25,7 @@ run_test 'find `cgit` signature' '
|
|||||||
'
|
'
|
||||||
|
|
||||||
run_test 'find initial commit' '
|
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' '
|
run_test 'generate patch for initial commit' '
|
||||||
|
Loading…
Reference in New Issue
Block a user