]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (test_strerror.c) add EPERM errno support
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 31 Mar 2026 15:55:03 +0000 (11:55 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Tue, 31 Mar 2026 16:00:20 +0000 (12:00 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/helpers/test_strerror.c

index a574c6ef3fac1d275250f6fe9c0290de8b66ab30..7fcba1fed57be8adc7695244a8cb96ad9545a347 100644 (file)
@@ -7,6 +7,7 @@
  * Copyright (C) 2019 Patrick Steinhardt <ps@pks.im
  */
 
+#include <asm-generic/errno-base.h>
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -21,6 +22,7 @@ static struct {
        E(ENOTTY),
        E(EILSEQ),
        E(EINVAL),
+       E(EPERM),
 };
 
 int main(int argc, const char *argv[])