summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2019-01-09 00:24:34 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2019-01-09 00:24:34 +0100
commitb9604dc2b2292b97f879d144dbaa7007a3df87c9 (patch)
treec4be8e0b2e5a03edcd91d4b07951cf0b6d3c55e8 /tests/local.mk
parent8b1bb605439d981b0985c2856512bddb32df0756 (diff)
downloadfindutils-b9604dc2b2292b97f879d144dbaa7007a3df87c9.tar.gz
tests: migrate 'type_list' to the new testsuite
Make this test a "check-root" test to increase test coverage. This test runs for non-privileged users as well, but skips the tests for block and character devices as mknod(1) will fail with EPERM. * find/testsuite/test_type-list.sh: Move to ... * tests/find/type_list.sh: ... this, and apply the above. Simplify, and make more robust. * find/testsuite/Makefile.am (tests_shell_progs): Remove the reference to this test ... * tests/local.mk (all_root_tests): ... and add it here.
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/local.mk b/tests/local.mk
index 7b82eefd..ddefe418 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -79,7 +79,9 @@ EXTRA_DIST += \
tests/other-fs-tmpdir \
tests/sample-test
-all_root_tests =
+all_root_tests = \
+ tests/find/type_list.sh
+
ALL_RECURSIVE_TARGETS += check-root
.PHONY: check-root