X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/23296ad648c0e2a9e3cf40a3de322b10ad25cce3..e1e0e038fd0fee3fe10524d7466deab03e78deb5:/tests/t0108-patch.sh diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index 33351d6..f92f69c 100755 --- a/tests/t0108-patch.sh +++ b/tests/t0108-patch.sh @@ -9,23 +9,23 @@ run_test 'generate foo/patch' ' ' run_test 'find `From:` line' ' - grep -e "^From: " trash/tmp + grep "^From: " trash/tmp ' run_test 'find `Date:` line' ' - grep -e "^Date: " trash/tmp + grep "^Date: " trash/tmp ' run_test 'find `Subject:` line' ' - grep -e "^Subject: commit 5" trash/tmp + grep "^Subject: commit 5" trash/tmp ' run_test 'find `cgit` signature' ' - tail -1 trash/tmp | grep -e "^cgit" + tail -1 trash/tmp | grep "^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' ' @@ -33,5 +33,7 @@ run_test 'generate patch for initial commit' ' ' run_test 'find `cgit` signature' ' - tail -1 trash/tmp | grep -e "^cgit" + tail -1 trash/tmp | grep "^cgit" ' + +tests_done