Use more flexible expression for replacing t_diff in

contrib/netbsd-tests/usr.bin/diff/t_diff.sh with the name of the script via
`basename $0`.

This was a change I forgot to port over from
^/head/gnu/usr.bin/diff/tests/Makefile@r272787.
This commit is contained in:
ngie 2017-07-19 18:30:16 +00:00
parent 8f97406478
commit 44761c7f7e

View File

@ -31,7 +31,7 @@ ${PACKAGE}FILES+= \
d_mallocv1.in \ d_mallocv1.in \
d_mallocv2.in d_mallocv2.in
ATF_TESTS_SH_SED_netbsd_diff_test+= -e 's,t_diff,netbsd_diff_test,g' ATF_TESTS_SH_SED_netbsd_diff_test+= -e 's/t_diff/`basename $$0`/g'
ATF_TESTS_SH_SRC_netbsd_diff_test= t_diff.sh ATF_TESTS_SH_SRC_netbsd_diff_test= t_diff.sh
.include <netbsd-tests.test.mk> .include <netbsd-tests.test.mk>