diff options
author | Kerin Millar <kfm@plushkava.net> | 2024-08-11 18:29:42 +0100 |
---|---|---|
committer | Kerin Millar <kfm@plushkava.net> | 2024-08-17 17:16:36 +0100 |
commit | 324bb9eda0989e39f4afe94e019c521fb3c0d377 (patch) | |
tree | 1c439a795a7779040500e6b515b2f066d26f698c | |
parent | Explicitly initialise a local variable in _update_pid() (diff) | |
download | gentoo-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-x | test-functions | 2 |
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. |