Date: Mon, 16 Jun 2025 08:54:16 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d4922e20a980 - stable/14 - timeout(1) tests: atf_fail requires a reason Message-ID: <202506160854.55G8sGlA043687@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d4922e20a980de452a66b014fb56d5492c60d934 commit d4922e20a980de452a66b014fb56d5492c60d934 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-06-09 10:26:07 +0000 Commit: Konstantin Belousov <kib@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" }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506160854.55G8sGlA043687>