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:
Enji Cooper 2017-07-19 18:30:16 +00:00
parent 2775c1d7d5
commit 274b460b60

View File

@ -31,7 +31,7 @@ ${PACKAGE}FILES+= \
d_mallocv1.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
.include <netbsd-tests.test.mk>