[LTP] [PATCH 0/7] TST_IPVER

Alexey Kodanev alexey.kodanev@oracle.com
Wed Jun 6 16:21:20 CEST 2018


On 01.06.2018 14:49, Petr Vorel wrote:
> Hi,
> 
> this is a better implementation of part of
> "tst_net.sh: Simplify ipver settings code" part of patch-set posted in [1]
> 
> 
> Kind regards,
> Petr
> 
> [1] http://lists.linux.it/pipermail/ltp/2018-May/008240.html
> 
> Petr Vorel (7):
>   tst_net.sh: Simplify ipver settings code
>   tst_net.sh: Rename ipver to TST_IPVER
>   net/dns: Replace $ipver by $TST_IPVER from tst_net.sh
>   net/ftp: Replace $ipver by $TST_IPVER from tst_net.sh
>   net/http: Replace $ipver by $TST_IPVER from tst_net.sh
>   net/ssh: Replace $ipver by $TST_IPVER from tst_net.sh
>   net/virt: Replace $ipver by $TST_IPVER from tst_net.sh
> 

The patch-set look good, acked.

BTW, I would rather split such patches on these logical changes:
* introduce new TST_IPVER library variable
* remove $ipver setups and replace the usage with $TST_IPVER.

>  testcases/lib/tst_net.sh                                   |  5 ++---
>  testcases/lib/tst_test.sh                                  |  2 +-
>  testcases/network/stress/dns/dns-stress                    | 12 +++++-------
>  testcases/network/stress/ftp/ftp-download-stress           |  3 +--
>  testcases/network/stress/ftp/ftp-upload-stress             |  3 +--
>  testcases/network/stress/http/http-stress                  |  3 +--
>  testcases/network/stress/interface/if-addr-adddel          |  2 +-
>  testcases/network/stress/interface/if-addr-addlarge        |  2 +-
>  testcases/network/stress/interface/if-route-addlarge       |  2 +-
>  .../multicast/grp-operation/mcast-group-multiple-socket    |  2 +-
>  .../stress/multicast/grp-operation/mcast-group-same-group  |  2 +-
>  .../multicast/grp-operation/mcast-group-single-socket      |  2 +-
>  .../multicast/grp-operation/mcast-group-source-filter      |  2 +-
>  .../network/stress/multicast/grp-operation/mcast-lib.sh    |  2 +-
>  testcases/network/stress/ns-tools/tst_net_stress.sh        |  2 +-
>  testcases/network/stress/ssh/ssh-stress                    | 14 ++++++--------
>  testcases/network/virt/virt_lib.sh                         |  6 ++----
>  17 files changed, 28 insertions(+), 38 deletions(-)
> 



More information about the ltp mailing list