ZTS: Catalog tunable names for tests in tunables.cfg

Update tests to use the variables for tunable names.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@ixsystems.com>
Closes #9831
This commit is contained in:
Ryan Moeller
2020-01-14 17:57:28 -05:00
committed by Brian Behlendorf
parent 61152d1069
commit 2476f10306
85 changed files with 434 additions and 366 deletions
@@ -48,7 +48,7 @@ if is_freebsd; then
fi
if is_linux; then
log_must set_tunable64 zfs_admin_snapshot 0
log_must set_tunable64 ADMIN_SNAPSHOT 0
fi
default_cleanup
@@ -76,7 +76,7 @@ fi
DISK=${DISKS%% *}
if is_linux; then
log_must set_tunable64 zfs_admin_snapshot 1
log_must set_tunable64 ADMIN_SNAPSHOT 1
fi
default_volume_setup $DISK