Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2017 18:30:16 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321227 - head/usr.bin/diff/tests
Message-ID:  <201707191830.v6JIUG1o070957@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Jul 19 18:30:16 2017
New Revision: 321227
URL: https://svnweb.freebsd.org/changeset/base/321227

Log:
  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.

Modified:
  head/usr.bin/diff/tests/Makefile

Modified: head/usr.bin/diff/tests/Makefile
==============================================================================
--- head/usr.bin/diff/tests/Makefile	Wed Jul 19 18:25:52 2017	(r321226)
+++ head/usr.bin/diff/tests/Makefile	Wed Jul 19 18:30:16 2017	(r321227)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707191830.v6JIUG1o070957>