Signed-off-by: Masatake YAMATO <yamato@redhat.com>
#include <time.h>
#include <unistd.h>
-#define EXIT_EPERM 18
-#define EXIT_ENOPROTOOPT 19
-#define EXIT_EPROTONOSUPPORT 20
-#define EXIT_EACCES 21
-#define EXIT_ENOENT 22
-/* EXIT_ENOSYS also defined in test_mkfds.h */
-#define EXIT_EADDRNOTAVAIL 24
-#define EXIT_ENODEV 25
-
#define _U_ __attribute__((__unused__))
static void do_nothing(int signum _U_);
#include <stdbool.h>
#include <stddef.h>
+/* Update the constants in
+ * tests/ts/lsfd/lsfd-functions.bash when changing
+ * the above error definitions. */
+#define EXIT_EPERM 18
+#define EXIT_ENOPROTOOPT 19
+#define EXIT_EPROTONOSUPPORT 20
+#define EXIT_EACCES 21
+#define EXIT_ENOENT 22
#define EXIT_ENOSYS 23
+#define EXIT_EADDRNOTAVAIL 24
+#define EXIT_ENODEV 25
enum multiplexing_mode {
MX_READ = 1 << 0,
#
# The exit-status used in a test target.
+#
+# Update the above constants when changing
+# the error definitions in tests/helpers/test_mkfds.h.
readonly EPERM=18
readonly ENOPROTOOPT=19
readonly EPROTONOSUPPORT=20