From: Christian Goeschel Ndjomouo Date: Thu, 23 Apr 2026 18:43:16 +0000 (-0400) Subject: tests: (enosys) add a simple test for --list X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=54d25e58fbbadb816796e9243763d8ba905d48bc;p=thirdparty%2Futil-linux.git tests: (enosys) add a simple test for --list Signed-off-by: Christian Goeschel Ndjomouo --- diff --git a/tests/ts/enosys/enosys b/tests/ts/enosys/enosys index 33c79d581..8ce7fdf6a 100755 --- a/tests/ts/enosys/enosys +++ b/tests/ts/enosys/enosys @@ -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