]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (lsfd,mkfds) define new error code for EPROTONOSUPPORT
authorMasatake YAMATO <yamato@redhat.com>
Wed, 1 Mar 2023 14:42:51 +0000 (23:42 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Wed, 1 Mar 2023 14:44:19 +0000 (23:44 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c
tests/ts/lsfd/lsfd-functions.bash

index 80a5ed6992b0e7ed5b17df1db8bf892119f5fe30..bfbc275fbbe7f0fa7d46420c0124a3ac5ed8c1b6 100644 (file)
@@ -54,6 +54,7 @@
 #define EXIT_ENOSYS 17
 #define EXIT_EPERM  18
 #define EXIT_ENOPROTOOPT 19
+#define EXIT_EPROTONOSUPPORT 20
 
 #define _U_ __attribute__((__unused__))
 
index 6af004216418a0eb61e277bd009bda3789ea3177..014145e3ca3a2f3ae6e09b54a81c35402f5f0950 100644 (file)
@@ -19,6 +19,7 @@
 readonly ENOSYS=17
 readonly EPERM=18
 readonly ENOPROTOOPT=19
+readonly EPROTONOSUPPORT=20
 
 function lsfd_wait_for_pausing {
        ts_check_prog "sleep"