]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: (lsfd) normalize protoname before comparing
authorMasatake YAMATO <yamato@redhat.com>
Mon, 29 Nov 2021 13:26:03 +0000 (22:26 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 29 Nov 2021 13:26:03 +0000 (22:26 +0900)
commit225154fedffe5b3898508cb13a2e5b5251c7816c
tree2234c60b1724a3726ac04d890911957697d4387e
parent399b78ea30a915e69f7b4ab6ad711d5f1ca5cbdc
tests: (lsfd) normalize protoname before comparing

This is a follow-up commit to a60ac11fe0087584f37329b4733edfade3452c64.

>    In the commit, the protoname of (AF_UNIX, SOCK_DGRAM) sockets was also
>    changed to "UNIX-DGRAM". However, it was renamed back to "UNIX" in
>    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0edf0824e0dc359ed76bf96af986e6570ca2c0b9

To make this test case more portable, this change makes the test case
accept "UINX-DGRAM" in addition to "UINX", too.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/ts/lsfd/mkfds-socketpair