From 61871518dd6703a59a676042a152aa54a30aea10 Mon Sep 17 00:00:00 2001 From: Olaf Faaland Date: Wed, 11 Mar 2020 10:02:23 -0700 Subject: zloop.sh should call ZDB with pool name Commit 54007c79 introduced an error, changing the final argument to $ZDB from ztest to $ZTEST. This argument indicates the pool name, not the script, and so should not have been changed. Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Olaf Faaland Closes #10118 --- scripts/zloop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/zloop.sh') diff --git a/scripts/zloop.sh b/scripts/zloop.sh index ae10617f6..3d9baaf0e 100755 --- a/scripts/zloop.sh +++ b/scripts/zloop.sh @@ -118,7 +118,7 @@ function store_core foundcrashes=$((foundcrashes + 1)) # zdb debugging - zdbcmd="$ZDB -U "$workdir/zpool.cache" -dddMmDDG $ZTEST" + zdbcmd="$ZDB -U "$workdir/zpool.cache" -dddMmDDG ztest" zdbdebug=$($zdbcmd 2>&1) echo -e "$zdbcmd\n" >>ztest.zdb echo "$zdbdebug" >>ztest.zdb -- cgit v1.2.3