]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: make lsns-netnsid portable
authorKarel Zak <kzak@redhat.com>
Fri, 30 Nov 2018 11:24:15 +0000 (12:24 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 4 Jan 2019 10:32:35 +0000 (11:32 +0100)
commite390ed7eea21f33d63979a0ca4eac71e427066a8
tree359ec5bba4dae3c3a713fe31d8620f25f0dc1802
parent7e927e1dc6f0f6cc794ecf90e17a43a67c540fdd
tests: make lsns-netnsid portable

It seems ip(8) link-show command does not provide link-netnsid in all
cases (versions ?). Let's try to use "ip netns list-id" as fallback.

This commit also add possibility to debug the script by $LOG variable.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests/ts/lsns/netnsid