t/fiotestlib: use dictionaries for filenames and paths
authorVincent Fu <vincent.fu@samsung.com>
Mon, 5 Jun 2023 17:46:19 +0000 (17:46 +0000)
committerVincent Fu <vincent.fu@samsung.com>
Thu, 8 Jun 2023 18:39:07 +0000 (14:39 -0400)
commit68b3a741b1ba68fd37afd5ad3e75352fc4901e2f
treec8a4a4bde1d4e850e16e475cd2b1b3b64a1999c6
parentecd6d30fcea14e42d933f1895b2f910cbe84506b
t/fiotestlib: use dictionaries for filenames and paths

Instead of separate variables for all the different filenames and paths,
use dictionaries for the filenames and paths.

This involves changing the function signature for the constructor and
setup() functions so that parameters are passed to setup() instead of
the constructor. This is because the base class defines the filenames
dictionary but FioJobFileTest needs to put an entry into the dictionary
before calling the base class constructor.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/fiotestlib.py
t/run-fio-tests.py