]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/t0108-patch.sh
Merge branch 'lh/module-links'
[ps-cgit] / tests / t0108-patch.sh
index 33351d6df592421be4fdf13d2f44f2c27257fa7e..6ee70b31f7546ceecf7ab9b1dca1359955f0b8f6 100755 (executable)
@@ -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' '
@@ -35,3 +35,5 @@ run_test 'generate patch for initial commit' '
 run_test 'find `cgit` signature' '
        tail -1 trash/tmp | grep -e "^cgit"
 '
+
+tests_done