aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkimg/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mkimg/tests/Makefile')
-rw-r--r--usr.bin/mkimg/tests/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.bin/mkimg/tests/Makefile b/usr.bin/mkimg/tests/Makefile
new file mode 100644
index 0000000000000..b84f440e3e530
--- /dev/null
+++ b/usr.bin/mkimg/tests/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/usr.bin/mkimg
+
+ATF_TESTS_SH= mkimg
+
+SOURCES!= cd ${.CURDIR}; echo *.uu
+FILES= ${SOURCES:S,.gz.uu,,g}
+FILESDIR= ${TESTSDIR}
+
+${FILES}:
+ uudecode -p ${.CURDIR}/${.TARGET}.gz.uu | gunzip -c > ${.TARGET}
+
+rebase:
+ (cd ${.CURDIR}; atf-sh mkimg.sh rebase)
+
+.include <bsd.test.mk>