The branch stable/14 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=d4922e20a980de452a66b014fb56d5492c60d934

commit d4922e20a980de452a66b014fb56d5492c60d934
Author:     Konstantin Belousov <k...@freebsd.org>
AuthorDate: 2025-06-09 10:26:07 +0000
Commit:     Konstantin Belousov <k...@freebsd.org>
CommitDate: 2025-06-16 08:51:55 +0000

    timeout(1) tests: atf_fail requires a reason
    
    (cherry picked from commit 4078e0d1d6f8189bff44fcad04df256220035f76)
---
 bin/timeout/tests/timeout_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/timeout/tests/timeout_test.sh 
b/bin/timeout/tests/timeout_test.sh
index a72aed609d47..b1bf69968e84 100644
--- a/bin/timeout/tests/timeout_test.sh
+++ b/bin/timeout/tests/timeout_test.sh
@@ -112,7 +112,7 @@ with_a_child_body()
 {
        out=$(sleep .1 & exec timeout .5 sh -c 'sleep 2; echo foo')
        status=$?
-       test "$out" = "" && test $status = 124 || atf_fail
+       test "$out" = "" && test $status = 124 || atf_fail "wrong status 
$status"
 
 }
 

Reply via email to