mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-02 04:04:24 +03:00
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:
committed by
Brian Behlendorf
parent
61152d1069
commit
2476f10306
@@ -39,10 +39,10 @@
|
||||
|
||||
verify_runnable "both"
|
||||
|
||||
oldvalue=$(get_tunable spa_asize_inflation)
|
||||
oldvalue=$(get_tunable SPA_ASIZE_INFLATION)
|
||||
function cleanup
|
||||
{
|
||||
set_tunable32 spa_asize_inflation $oldvalue
|
||||
set_tunable32 SPA_ASIZE_INFLATION $oldvalue
|
||||
log_must zfs destroy -rf $TESTPOOL/$TESTFS
|
||||
log_must zfs create $TESTPOOL/$TESTFS
|
||||
log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
|
||||
@@ -50,7 +50,7 @@ function cleanup
|
||||
|
||||
log_onexit cleanup
|
||||
|
||||
set_tunable32 spa_asize_inflation 2
|
||||
set_tunable32 SPA_ASIZE_INFLATION 2
|
||||
|
||||
TESTFILE='testfile'
|
||||
FS=$TESTPOOL/$TESTFS
|
||||
|
||||
Reference in New Issue
Block a user