X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e76a1ea427792aaa331cdec70d7d4ff1fb3422e0..392e07d28a23aec9942b9ed0d122e35d2d268fb9:/tests/t0108-patch.sh diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh index e608104..f15c893 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,7 +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