[LTP] [PATCH] nfs/nfs_lib.sh: Fix wrong getopts parameter handling
Petr Vorel
pvorel@suse.cz
Thu May 3 12:46:38 CEST 2018
Hi Xiao,
> If nfs_lib.sh didn't use TST_OPTS and passed getopts parameter to
> tst_net.sh which could only handle -6, it caused getopts error:
> ----------------------------------------------------------------
> /opt/ltp/testcases/bin/nfs01: illegal option -- v
> /opt/ltp/testcases/bin/tst_net.sh: line 37: ?: command not found
> ----------------------------------------------------------------
> We use TST_OPTS and TST_PARSE_ARGS to fix this issue.
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> ---
Thanks for you fix, pushed.
We should finish rewriting network scripts to new API sooner than later.
Kind regards,
Petr
More information about the ltp
mailing list