diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2019-01-09 00:24:34 +0100 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2019-01-09 00:24:34 +0100 |
commit | b9604dc2b2292b97f879d144dbaa7007a3df87c9 (patch) | |
tree | c4be8e0b2e5a03edcd91d4b07951cf0b6d3c55e8 /tests/local.mk | |
parent | 8b1bb605439d981b0985c2856512bddb32df0756 (diff) | |
download | findutils-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.mk | 4 |
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 |