]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (enosys) add a simple test for --list
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Thu, 23 Apr 2026 18:43:16 +0000 (14:43 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 4 May 2026 13:05:51 +0000 (09:05 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/enosys/enosys

index 33c79d581c110b7c295c38ceb2c392dcb8c93efa..8ce7fdf6a9b6097866f9c685c2601ced053c36cc 100755 (executable)
@@ -59,4 +59,12 @@ $FALLOCATE_TEST > /dev/null 2>> "$TS_OUTPUT"
 
 ts_finalize_subtest
 
+
+ts_init_subtest "list"
+
+res="$("$TS_CMD_ENOSYS" --list 2>>"$TS_ERRLOG")"
+[ -z "$res" ] && echo "No syscalls found. This is odd." >>"$TS_ERRLOG"
+
+ts_finalize_subtest
+
 ts_finalize