diff options
author | Masatake YAMATO <yamato@redhat.com> | 2024-03-16 22:05:48 +0900 |
---|---|---|
committer | Masatake YAMATO <yamato@redhat.com> | 2024-04-05 18:27:02 +0900 |
commit | 5f77e0ffe653b82378d24da26979cd7493e45542 (patch) | |
tree | fea013a712c2d94552e52ca43f1475d5e6e21e29 | |
parent | d2baa1df44d3db885f0df06a8c1910347c105a64 (diff) | |
download | util-linux-5f77e0ffe653b82378d24da26979cd7493e45542.tar.gz |
tests: (lsfd-functions.bash,cosmetic) unify the style to define functions
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-rw-r--r-- | tests/ts/lsfd/lsfd-functions.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ts/lsfd/lsfd-functions.bash b/tests/ts/lsfd/lsfd-functions.bash index 36c0583c5e..d7eab146a7 100644 --- a/tests/ts/lsfd/lsfd-functions.bash +++ b/tests/ts/lsfd/lsfd-functions.bash @@ -58,7 +58,7 @@ function lsfd_compare_dev { fi } -lsfd_strip_type_stream() +function lsfd_strip_type_stream { # lsfd changes the output of NAME column for a unix stream socket # whether the kernel reports it is a "UNIX-STREAM" socket or a @@ -67,7 +67,7 @@ lsfd_strip_type_stream() sed -e 's/ type=stream//' } -lsfd_make_state_connected() +function lsfd_make_state_connected { # Newer kernels report the states of unix dgram sockets created by # sockerpair(2) are "connected" via /proc/net/unix though Older |