]> 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, 30 Nov 2018 11:24:15 +0000 (12:24 +0100)
commit0d79f5805ff2d7651ec70b06753e908cc782857a
treea7c7d18d64b142231a28b552995cd41607536f7f
parent7174b93dfda08f87228bb7aec6274fe60af581bd
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