aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common.sh.in
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-03-22 18:08:59 -0700
committerBrian Behlendorf <[email protected]>2016-03-23 16:12:25 -0700
commit541a09016d652d92a9a665a3e62d83907b8b9941 (patch)
treed00f84846739d0690e8662dd716dbfb662f16e48 /scripts/common.sh.in
parent505d9655c9e759a145b4812c654c51c34dbe3425 (diff)
Add zloop.sh test script
Add Chris Williamson's "new" zloop script so that it may be intergated with ZoLs automated testing. The original script may be found in the openzfs-build repository on Github. Minor modifications were made to the script so it can be run directly from the ZoL source tree or from installed packages. Additionally it was updated to use gdb instead of mdb to extact debugging information from a core dump. References: https://github.com/openzfs/openzfs-build/commit/7fb5d8b https://github.com/openzfs/openzfs-build/blob/master/ansible/roles/openzfs-jenkins-slave/files/usr/local/zloop.sh Signed-off-by: Brian Behlendorf <[email protected]> Closes #4441
Diffstat (limited to 'scripts/common.sh.in')
-rw-r--r--scripts/common.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/common.sh.in b/scripts/common.sh.in
index f6c6d93fe..4ce177e32 100644
--- a/scripts/common.sh.in
+++ b/scripts/common.sh.in
@@ -79,6 +79,7 @@ SCSIRESCAN=${SCSIRESCAN:-/usr/bin/scsi-rescan}
SYSCTL=${SYSCTL:-/sbin/sysctl}
UDEVADM=${UDEVADM:-/sbin/udevadm}
AWK=${AWK:-/usr/bin/awk}
+GDB=${GDB:-/usr/bin/gdb}
ZED_PIDFILE=${ZED_PIDFILE:-${localstatedir}/run/zed.pid}