diff options
author | Mattias Andrée <maandree@kth.se> | 2023-12-07 20:35:16 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-12-07 20:35:16 +0100 |
commit | 225f1408e03f2e66198f3da20c42a746e2729ab0 (patch) | |
tree | ebd6bd4b576c85159e852103ce21d4515484d853 /tests/load-functions | |
parent | Third commit (diff) | |
download | libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.gz libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.bz2 libsyscalls-225f1408e03f2e66198f3da20c42a746e2729ab0.tar.xz |
Fourth commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'tests/load-functions')
-rw-r--r-- | tests/load-functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/load-functions b/tests/load-functions index f0c5311..a31f236 100644 --- a/tests/load-functions +++ b/tests/load-functions @@ -58,3 +58,7 @@ issupported () { cpp_enum_clean () { $CPP < libsyscalls.h 2>/dev/null | grep -v '#' | tr '\n,{}' ' \n\n\n' } + +min () { + printf '%s\n' "$@" | tr -d + | sort -n | sed -n 1p +} |