Re: [PATCHv2 net-next 10/14] selftests/net: convert ioam6.sh to run it in unique namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 30, 2023 at 02:28:51PM +0100, Justin Iurman wrote:
> On 11/30/23 05:01, Hangbin Liu wrote:
> > Here is the test result after conversion.
> > 
> > ]# ./ioam6.sh
> > 
> > --------------------------------------------------------------------------
> > OUTPUT tests
> > --------------------------------------------------------------------------
> > TEST: Unknown IOAM namespace (inline mode)                          [ OK ]
> > TEST: Unknown IOAM namespace (encap mode)                           [ OK ]
> > TEST: Missing trace room (inline mode)                              [ OK ]
> > TEST: Missing trace room (encap mode)                               [ OK ]
> > TEST: Trace type with bit 0 only (inline mode)                      [ OK ]
> > ...
> > TEST: Full supported trace (encap mode)                             [ OK ]
> > 
> > --------------------------------------------------------------------------
> > GLOBAL tests
> > --------------------------------------------------------------------------
> > TEST: Forward - Full supported trace (inline mode)                  [ OK ]
> > TEST: Forward - Full supported trace (encap mode)                   [ OK ]
> > 
> > - Tests passed: 88
> > - Tests failed: 0
> > 
> > Acked-by: David Ahern <dsahern@xxxxxxxxxx>
> > Signed-off-by: Hangbin Liu <liuhangbin@xxxxxxxxx>
> 
> Reviewed-by: Justin Iurman <justin.iurman@xxxxxxxxx>
> 
> LGTM. Just one question though. Is there any reason not to use cleanup_ns
> everywhere? There is the following diff (actually, 3 times):

Hi Justin,

Thanks for your review. There is no much intend. I just use del ns for one
line change. And use cleanup_ns for multi line changes. I can make all
ns delete via cleanup_ns in next version.

BTW, I will use `cleanup_ns $ns || true` in next version as cleanup_ns
could return none 0 in PATCHv2.

Thanks
Hangbin




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux