]> gitweb.ps.run Git - ps-cgit/blobdiff - tests/t0108-patch.sh
tests: check that Git version are in sync
[ps-cgit] / tests / t0108-patch.sh
index 6ee70b31f7546ceecf7ab9b1dca1359955f0b8f6..f92f69cd520b8648a3842d2cf50a5e18d0c847a2 100755 (executable)
@@ -9,19 +9,19 @@ 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' '
@@ -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