tests: use just-built sed in more places
* cfg.mk (PATH): Prepend $(srcdir)/src, so that we use the just- built sed also when running commands like those of "make distcheck". Tested by running this in a just-built directory: f=sed/sed; printf '%s\n' '#!/bin/sh' 'sleep 9h' > $f; chmod a+x $f and then verifying that nearly every "make syntax-check" rule hangs.
This commit is contained in:
1 parent
62f8375628
commit
937b1ba642
1 file changed
+5
@@ -14,6 +14,11 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Cause the tool(s) built by this package to be used also when running
|
||||
# commands via e.g., "make syntax-check". Doing this a little sooner
|
||||
# would have avoided a grep infloop bug.
|
||||
export PATH := $(srcdir)/sed:${PATH}
|
||||
|
||||
# Used in maint.mk's web-manual rule
|
||||
manual_title = GNU Sed: a stream editor
|
||||
|
||||
|
||||
Reference in new issue
Block a user