diff options
author | Giuseppe Di Natale <[email protected]> | 2017-03-09 10:20:15 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-09 10:20:15 -0800 |
commit | c552fbc5f025f3c1e74b85c1c0d536ee272defd0 (patch) | |
tree | 4ae7a1c1b195703d748d030b1f94ecb701ed5199 /scripts/common.sh.in | |
parent | 9b77d1c9585572b7ce3af204d40278752d5f5842 (diff) |
Enable shellcheck to run for select scripts
Enable shellcheck to run on zed scripts,
paxcheck.sh, zfs-tests.sh, zfs.sh, and zloop.sh.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #5812
Diffstat (limited to 'scripts/common.sh.in')
-rw-r--r-- | scripts/common.sh.in | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/common.sh.in b/scripts/common.sh.in index 38fc6985a..e1a9b82d2 100644 --- a/scripts/common.sh.in +++ b/scripts/common.sh.in @@ -21,7 +21,6 @@ VERBOSE= VERBOSE_FLAG= FORCE= FORCE_FLAG= -DUMP_LOG= ERROR= RAID0S=() RAID10S=() @@ -155,17 +154,6 @@ init() { populate $SRC_DIR 10 100 } -spl_dump_log() { - ${SYSCTL} -w kernel.spl.debug.dump=1 &>/dev/null - local NAME=`dmesg | tail -n 1 | cut -f5 -d' '` - ${SPLBUILD}/cmd/spl ${NAME} >${NAME}.log - echo - echo "Dumped debug log: ${NAME}.log" - tail -n1 ${NAME}.log - echo - return 0 -} - check_modules() { local LOADED_MODULES=() local MISSING_MODULES=() @@ -265,11 +253,6 @@ unload_modules() { egrep "^${NAME} "| ${AWK} '{print $3}'` if [ "${USE_COUNT}" = 0 ] ; then - - if [ "${DUMP_LOG}" -a ${NAME} = "spl" ]; then - spl_dump_log - fi - unload_module ${MOD} || return 1 fi done |