[LTP] [PATCH] containers/netns/netns_sysfs.sh: removed invalid excess line

Jiri Jaburek jjaburek@redhat.com
Thu Nov 26 14:52:46 CET 2015


On 11/26/15 12:32, Matus Marhefka wrote:
> Signed-off-by: Matus Marhefka <mmarhefk@redhat.com>

For what it's worth,

Acked-by: Jiri Jaburek <jjaburek@redhat.com>

I admit that this was a brain fart on my part, I submitted a patch
against a testing/debug version of that file. Sorry about that.

> ---
>  testcases/kernel/containers/netns/netns_sysfs.sh | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/testcases/kernel/containers/netns/netns_sysfs.sh b/testcases/kernel/containers/netns/netns_sysfs.sh
> index b951f32..4c6e7e4 100755
> --- a/testcases/kernel/containers/netns/netns_sysfs.sh
> +++ b/testcases/kernel/containers/netns/netns_sysfs.sh
> @@ -52,8 +52,6 @@ TST_CLEANUP=cleanup
>  # by the dummy device driver upon insmod/modprobe (during ip link add)
>  ls /sys/class/net | grep -v 'dummy[0-9]\+' >sysfs_before
>  
> -ls /sys/class/net >sysfs_before
> -
>  ns_exec $NS_HANDLE $NS_TYPE mount --make-rprivate /sys
>  ns_exec $NS_HANDLE $NS_TYPE ip link add $DUMMYDEV type dummy || \
>  	tst_brkm TBROK "failed to add a new dummy device"
> 



More information about the Ltp mailing list