In GNU grep 2.24 and earlier, the regression tests

  help-version
  reversed-range-endpoints

fail if grep is built with a program prefix (I use --program-prefix=g).

---------- help-version.log ----------
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
FAIL: egrep
/usr/obj/ggrep-2.24/grep-2.24/tests/../src/fgrep[2]: ggrep: not found
FAIL: fgrep
FAIL help-version (exit status: 1)

---------- reversed-range-endpoints.log ----------
--- exp Mon Mar 28 22:46:48 2016
+++ out Mon Mar 28 22:46:48 2016
@@ -1 +1 @@
-Invalid range end
+/usr/obj/ggrep-2.24/grep-2.24/tests/../src/egrep[2]: ggrep: not found
FAIL reversed-range-endpoints (exit status: 1)

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de



Reply via email to