From 324bb9eda0989e39f4afe94e019c521fb3c0d377 Mon Sep 17 00:00:00 2001 From: Kerin Millar Date: Sun, 11 Aug 2024 18:29:42 +0100 Subject: 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 --- test-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-functions') 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. -- cgit v1.2.3-65-gdbad