Commit Diff


commit - 9bf4a819c3a1cbd7d7962bf061cd2456660cd726
commit + b9efd927c001e0ea11fac039d1d0849bcad14cab
blob - 910c56756bcdbce467444a7e6780b8f664fcc598
blob + 84f898a2d3fd7e827f37d2c2472e5d90bc945d84
--- test/verify_all.sh
+++ test/verify_all.sh
@@ -7,7 +7,7 @@ fi
 
 # At present, test015 only passes with GNU patch.
 # Larry's patch has a bug with empty files in combination with -R...
-if which gpatch > /dev/null; then
+if command -v gpatch >/dev/null 2>&1; then
 	patch_prog="gpatch"
 else
 	patch_prog="patch"
@@ -15,7 +15,7 @@ fi
 
 diff_type=unidiff
 
-rm errors
+rm -f errors
 
 verify_diff_script() {
 	orig_left="$1"