commit: 324bb9eda0989e39f4afe94e019c521fb3c0d377
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sun Aug 11 17:29:42 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 16:16:36 2024 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=324bb9ed
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 <AT> plushkava.net>
test-functions | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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.