Whamcloud - gitweb
LU-14789 tests: make sanity 133f and 133g working 84/44184/4
authorCyril Bordage <cbordage@whamcloud.com>
Thu, 8 Jul 2021 14:35:44 +0000 (16:35 +0200)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Jul 2021 21:38:01 +0000 (21:38 +0000)
commit5a28f3bc4bd769d61dde54fdbf7ad11a16b47224
tree92506d63527a33693b261dbce8ecd4f8cad2aad5
parent449d046e55a42cc4d1c4ab0217551cded1864bc4
LU-14789 tests: make sanity 133f and 133g working

Tests sanity 133f and 133g were doing nothing after change 38567.
Because the argument given to badarea_io was not a path, 0 was always
returned. This patch finds the complete path of the parameters
returned by "lctl get_param" and gives them to badarea_io.

Fixes: 1c54733894f8 ("LU-10401 tests: add -F so list_param prints entry type")
Signed-off-by: Cyril Bordage <cbordage@whamcloud.com>
Change-Id: I7a8914e2950d5a8b2a93948c4fbe889520a3198c
Reviewed-on: https://review.whamcloud.com/44184
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/tests/sanity.sh