Whamcloud - gitweb
LU-15921 tests: fix sanity-hsm 24c 64/47564/2
authorAurelien Degremont <degremoa@amazon.com>
Wed, 8 Jun 2022 07:49:32 +0000 (07:49 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 3 Jan 2023 21:34:17 +0000 (21:34 +0000)
commit0dd0a540e4bbeab04eefd409ba9bb3c37624d96d
treed890ae2eb34934dbe4106099ceaa2f6a84ad05a9
parent7493f0c713aabe1d20f4e6281090345d07d8d7a2
LU-15921 tests: fix sanity-hsm 24c

Fix bad copy-paste in test sanity-hsm 24c causing
the test to save 3 different tunables, but actually
restoring the same one three times.

Also improve the code to support values including spaces.

Test-Parameters: trivial testlist=sanity-hsm,sanity-pcc
Fixes: 2042bce ("LU-9474 tests: rewrite copytool_setup to use stack_trap")
Fixes: f172b11 ("LU-10092 llite: Add persistent cache on client")
Change-Id: I34cc61515ebb862d5996f41cdb2055ac53ccac65
Signed-off-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47564
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-hsm.sh
lustre/tests/test-framework.sh