]> git.proxmox.com Git - mirror_zfs.git/commit - Makefile.am
Verify ZFS Test Suite scripts executability
authorLOLi <loli10K@users.noreply.github.com>
Wed, 7 Feb 2018 20:43:24 +0000 (21:43 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 7 Feb 2018 20:43:24 +0000 (12:43 -0800)
commit9ca25e709b904ab9669724d53eb50ee074c09705
treeebd6e8bca66e0865ddb30544ba183621424424ab
parent6b810d04bda3f274c7835e313a0dfc6938487772
Verify ZFS Test Suite scripts executability

This change adds a make target 'testscheck' which verifies all ksh test
scripts, part of the ZFS Test Suite, have their executable bit set:
this should avoid adding new test scripts that cannot be executed by
the test-runner.py which would result in the following warning message:

   Warning: Test removed from TestGroup because it failed verification.

This also verifies both *.cfg and *.kshlib files used in the ZFS Test
Suite are not executable.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7131
Makefile.am
tests/zfs-tests/tests/functional/casenorm/casenorm.kshlib [changed mode: 0755->0644]
tests/zfs-tests/tests/functional/cli_root/zpool_events/zpool_events.kshlib [changed mode: 0755->0644]
tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.cfg [changed mode: 0755->0644]
tests/zfs-tests/tests/functional/events/events_common.kshlib [changed mode: 0755->0644]
tests/zfs-tests/tests/functional/rsend/send_encrypted_files.ksh [changed mode: 0644->0755]
tests/zfs-tests/tests/functional/zvol/zvol_misc/zvol_misc_common.kshlib [changed mode: 0755->0644]