summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-11 18:29:42 +0100
committerKerin Millar <kfm@plushkava.net>2024-08-17 17:16:36 +0100
commit324bb9eda0989e39f4afe94e019c521fb3c0d377 (patch)
tree1c439a795a7779040500e6b515b2f066d26f698c
parentExplicitly initialise a local variable in _update_pid() (diff)
downloadgentoo-functions-324bb9eda0989e39f4afe94e019c521fb3c0d377.tar.gz
gentoo-functions-324bb9eda0989e39f4afe94e019c521fb3c0d377.tar.bz2
gentoo-functions-324bb9eda0989e39f4afe94e019c521fb3c0d377.zip
test-functions: do not check that genfun_time is greater than -1
In point of fact, it can be expected to overflow sometimes. Especially if running mksh. Fixes: 52f551e5a01ab030c131c2e7f196a8a76235583d Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rwxr-xr-xtest-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-functions b/test-functions
index 51f3adf..16f9481 100755
--- a/test-functions
+++ b/test-functions
@@ -1111,7 +1111,7 @@ test_update_time() {
fi
case $? in
0)
- is_int "${genfun_time}" && test "${genfun_time}" -ge 0
+ is_int "${genfun_time}"
;;
2)
# Unsupported for the platform and therefore untestable.