[LTP] [PATCH] lib/tst_net.sh: Detect quoted parameters correctly
Petr Vorel
pvorel@suse.cz
Wed May 9 17:27:28 CEST 2018
Hi,
> If we pass $* to tst_net_read_opts, we cannot detect quoted parameters
> correctly, which process only first number from quoted parameters.
> For example, running sctp_ipsec.sh -s "100 1000 65535":
...
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> ---
> testcases/lib/tst_net.sh | 2 +-
...
> if [ -n "$TST_USE_LEGACY_API" ]; then
> - tst_net_read_opts $*
> + tst_net_read_opts "$@"
Thanks Xiao for fix, patch applied (with additional explanation and Fixes: in commit
message).
Network tests are no longer blocking the release.
Kind regards,
Petr
More information about the ltp
mailing list