]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsns) verify NETNSID column for namespaces with no process running
authorMasatake YAMATO <yamato@redhat.com>
Fri, 7 Mar 2025 22:27:31 +0000 (07:27 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 7 Mar 2025 23:05:11 +0000 (08:05 +0900)
commit18d585b59900e98511024a46a92ab6d7958613d4
tree5d28e88bc6a07523c2be14be5730c1cf9f15c2bb
parente04238952520d485d69a0ad4d30bb7ab9a6fd075
tests: (lsns) verify NETNSID column for namespaces with no process running

This case tests the two changes about lsns:

- make "-Q NETNSID ..." work even if NETNSID column is not enabled, and
- show NETNSID for namespaces with no process running

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/expected/lsns/netnsid-for-persistent-namespaces-NETNSID [new file with mode: 0644]
tests/expected/lsns/netnsid-for-persistent-namespaces-NSFS [new file with mode: 0644]
tests/expected/lsns/netnsid-for-persistent-namespaces-TYPE [new file with mode: 0644]
tests/functions.sh
tests/ts/lsns/netnsid
tests/ts/lsns/netnsid-for-persistent-namespaces [new file with mode: 0755]