Whamcloud - gitweb
LU-13273 tests: run_ior() parameters order fix 51/37651/3
authorElena Gryaznova <elena.gryaznova@hpe.com>
Thu, 20 Feb 2020 18:22:55 +0000 (21:22 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 17 Mar 2020 03:40:45 +0000 (03:40 +0000)
commit7889a3e5df914f70d4b405779f9d04251c80a5d5
tree0651cc20bb4a108e9e460aed53c15ff17d6fa0e0
parent1c1ffaca57b9ec0831cee1f13dc94d826d269e7f
LU-13273 tests: run_ior() parameters order fix

IOR requires particular options to be specified
before script file option. Otherwise those options
make no effect.

After script file processing any options which
change initialTestParams values have no effect
because test set is already created based on
initialTestParams initialized and modified with
preceding options.

To have initialTestParams->testFileName equal to
<testFile> the parameters order should be:
   -o <testFile> -f <scriptFile>
With the order
   -f <scriptFile> -o <testFile>
initialTestParams->testFileName is equal to default
value "testFile" set in init_IOR_Param_t.

Fixes: 2d7419478e79 (LU-11078 tests: customise run_ior())
Test-Parameters: trivial
Test-Parameters: testlist=parallel-scale envdefinitions=ONLY=iorssf
Cray-bug-id: LUS-7734
Signed-off-by: Elena Gryaznova <elena.gryaznova@hpe.com>
Reviewed-by: Vladimir Saveliev <vladimir.saveliev@hpe.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Change-Id: I16a797466355c69e655259aaf8d9a3ae69d4a31d
Reviewed-on: https://review.whamcloud.com/37651
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vladimir Saveliev <c17830@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/functions.sh