svn commit: r319560 - stable/11/usr.bin/mkimg/tests

Ngie Cooper ngie at FreeBSD.org
Sun Jun 4 02:21:39 UTC 2017


Author: ngie
Date: Sun Jun  4 02:21:38 2017
New Revision: 319560
URL: https://svnweb.freebsd.org/changeset/base/319560

Log:
  MFC r319294:
  
  Approved by:	re (gjb)
  
  Fix "make rebase" after ^/head at r315776
  
  "make rebase" can be used for rebasing the output files from mkimg
  after making a change to mkimg. This will come in handy soon, per
  bug 219673.

Modified:
  stable/11/usr.bin/mkimg/tests/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/mkimg/tests/Makefile
==============================================================================
--- stable/11/usr.bin/mkimg/tests/Makefile	Sat Jun  3 23:13:46 2017	(r319559)
+++ stable/11/usr.bin/mkimg/tests/Makefile	Sun Jun  4 02:21:38 2017	(r319560)
@@ -2,7 +2,8 @@
 
 PACKAGE=	tests
 
-ATF_TESTS_SH=	mkimg_test
+_REBASE_SCRIPT=	mkimg_test
+ATF_TESTS_SH=	${_REBASE_SCRIPT}
 
 SOURCES!=	cd ${.CURDIR}; echo *.uu
 ${PACKAGE}FILES+=		${SOURCES:S,.gz.uu,,g}
@@ -12,7 +13,7 @@ ${${PACKAGE}FILES}:
 
 CLEANFILES+=	${${PACKAGE}FILES}}
 
-rebase:
-	(cd ${.CURDIR}; atf-sh mkimg.sh rebase)
+rebase: .PHONY
+	(cd ${.CURDIR}; atf-sh ${_REBASE_SCRIPT}.sh rebase)
 
 .include <bsd.test.mk>


More information about the svn-src-all mailing list