summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am10
-rw-r--r--[-rwxr-xr-x]tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib0
-rw-r--r--[-rwxr-xr-x]tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib0
-rw-r--r--[-rwxr-xr-x]tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg0
-rw-r--r--[-rwxr-xr-x]tests/zfs-tests/tests/functional/events/events_common.kshlib0
-rwxr-xr-x[-rw-r--r--]tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh0
-rw-r--r--[-rwxr-xr-x]tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib0
7 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a4dccdda6..07d583fdf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -41,7 +41,7 @@ dist-hook:
sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \
$(distdir)/META
-checkstyle: cstyle shellcheck flake8 commitcheck mancheck
+checkstyle: cstyle shellcheck flake8 commitcheck mancheck testscheck
commitcheck:
@if git rev-parse --git-dir > /dev/null 2>&1; then \
@@ -68,6 +68,14 @@ mancheck:
xargs mandoc -Tlint -Werror; \
fi
+testscheck:
+ @find ${top_srcdir}/tests/zfs-tests/tests -type f \
+ \( -name '*.ksh' -not -executable \) -o \
+ \( -name '*.kshlib' -executable \) -o \
+ \( -name '*.cfg' -executable \) | \
+ xargs -r stat -c '%A %n' | \
+ awk '{c++; print} END {if(c>0) exit 1}'
+
lint: cppcheck paxcheck
cppcheck:
diff --git a/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib b/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib
index 273522406..273522406 100755..100644
--- a/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib
+++ b/tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib
index a64f14a85..a64f14a85 100755..100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib
diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg
index 9227cbb18..9227cbb18 100755..100644
--- a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg
+++ b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg
diff --git a/tests/zfs-tests/tests/functional/events/events_common.kshlib b/tests/zfs-tests/tests/functional/events/events_common.kshlib
index 26afc1091..26afc1091 100755..100644
--- a/tests/zfs-tests/tests/functional/events/events_common.kshlib
+++ b/tests/zfs-tests/tests/functional/events/events_common.kshlib
diff --git a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh
index 20f3788d5..20f3788d5 100644..100755
--- a/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh
+++ b/tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh
diff --git a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib
index 5c8c9847a..5c8c9847a 100755..100644
--- a/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib
+++ b/tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib