]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsfd) adjust the output for unix datagram sockets already connected
authorMasatake YAMATO <yamato@redhat.com>
Sat, 15 Apr 2023 12:47:59 +0000 (21:47 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Sun, 16 Apr 2023 12:08:45 +0000 (21:08 +0900)
commitc3332a19645f52eacd523a14ab156098833b66e1
tree0d8e453fd41ff88f5b8ef35a30ff2eb5e237437c
parent9a906b8799e5c8dfdcbb5b03c59cb8c118c8ad98
tests: (lsfd) adjust the output for unix datagram sockets already connected

Though older kernels report such sockets as "unconnected" via /proc/net/unix,
the newer kernels report them as "connected". The change is introduced in
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=83301b5367a98c17ec0d76c7bc0ccdc3c7e7ad6d

This caused a failure in a test case. To avoid the failure,
this change rewrites "unconnected" in the lsfd's output to "connected".

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/ts/lsfd/lsfd-functions.bash
tests/ts/lsfd/mkfds-unix-dgram