[LTP] [PATCH v2] tst_test.sh: achieve TST_RETRY_FUNC function in shell
Petr Vorel
pvorel@suse.cz
Thu May 17 10:24:17 CEST 2018
Hi Li,
> Hi Petr,
> And also, we'd better skip the TST_ prefix name check in test library,
> otherwise we will get LTP warnings like:
> <<<test_output>>>
> numa01 1 TWARN: Reserved variable TST_RETRY_FUNC used!
I'm sorry I've noticed it but forget to report it.
...
> @@ -255,6 +297,7 @@ tst_run()
> OPTS|USAGE|PARSE_ARGS|POS_ARGS);;
> NEEDS_ROOT|NEEDS_TMPDIR|NEEDS_DEVICE|DEVICE);;
> NEEDS_CMDS|NEEDS_MODULE|MODPATH|DATAROOT);;
> + RETRY_FUNC|RETRY_FN_EXP_BACKOFF);;
> IPV6);;
> I prefer to merge this change along with your suggestions in PATCH v3 as
> well.
Sure!
> Thanks,
> Li Wang
Kind regards,
Petr
More information about the ltp
mailing list