summaryrefslogtreecommitdiffstats
path: root/tests/load-functions
diff options
context:
space:
mode:
Diffstat (limited to 'tests/load-functions')
-rw-r--r--tests/load-functions4
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
+}