From fe609530f2333054eeffd08ebef8c227a9730085 Mon Sep 17 00:00:00 2001 From: loli10K Date: Fri, 24 May 2019 23:12:14 +0200 Subject: [PATCH] zfs-tests: fix warnings when packaging some .shlib files This change prevents the following warning when packaging some zfs-tests files: *** WARNING: ./usr/src/zfs-0.8.0/tests/zfs-tests/include/zpool_script.shlib is executable but has empty or no shebang, removing executable bit Reviewed by: John Kennedy Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Reviewed-by: Giuseppe Di Natale Signed-off-by: loli10K Closes #8787 --- Makefile.am | 3 ++- tests/zfs-tests/include/zpool_script.shlib | 0 .../tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib | 0 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 tests/zfs-tests/include/zpool_script.shlib mode change 100755 => 100644 tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib diff --git a/Makefile.am b/Makefile.am index b4416c749..1ec251492 100644 --- a/Makefile.am +++ b/Makefile.am @@ -111,9 +111,10 @@ mancheck: fi testscheck: - @find ${top_srcdir}/tests/zfs-tests/tests -type f \ + @find ${top_srcdir}/tests/zfs-tests -type f \ \( -name '*.ksh' -not -executable \) -o \ \( -name '*.kshlib' -executable \) -o \ + \( -name '*.shlib' -executable \) -o \ \( -name '*.cfg' -executable \) | \ xargs -r stat -c '%A %n' | \ awk '{c++; print} END {if(c>0) exit 1}' diff --git a/tests/zfs-tests/include/zpool_script.shlib b/tests/zfs-tests/include/zpool_script.shlib old mode 100755 new mode 100644 diff --git a/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib b/tests/zfs-tests/tests/functional/cli_root/zpool_reopen/zpool_reopen.shlib old mode 100755 new mode 100644 -- 2.40.0