summaryrefslogtreecommitdiffstats
path: root/tools/regression/usr.bin/env/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/usr.bin/env/Makefile')
-rw-r--r--tools/regression/usr.bin/env/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/env/Makefile b/tools/regression/usr.bin/env/Makefile
new file mode 100644
index 0000000..c019964
--- /dev/null
+++ b/tools/regression/usr.bin/env/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+TESTPGM?=TestProgramNotSpecifed
+
+all:
+ @echo "Note that the 'env' command uses its own regression suite,"
+ @echo "which uses a single data file and a script written in ruby."
+ @echo "By default it will test /usr/bin/env"
+ @echo
+ @ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata
+
+# A version which allows the user to specify which executable of `env'
+# should be tested, e.g.: make testenv TESTPROG=/usr/bin/env-rel6
+# This will probably need a bit more thought...
+testenv:
+ @ruby regress-sb.rb --rgdata=${.CURDIR}/regress-env.rgdata \
+ --testpgm=${TESTPGM} \ No newline at end of file
OpenPOWER on IntegriCloud