git: 21716b6c3ed6 - main - kyua: Make "test" command actually report about workdir cleanup issues

From: Igor Ostapenko <igoro_at_FreeBSD.org>
Date: Sat, 11 Oct 2025 13:16:43 UTC
The branch main has been updated by igoro:

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

commit 21716b6c3ed6e28fe5cc14ee3ffe93f44c458b09
Author:     Igor Ostapenko <igoro@FreeBSD.org>
AuthorDate: 2025-10-11 13:14:16 +0000
Commit:     Igor Ostapenko <igoro@FreeBSD.org>
CommitDate: 2025-10-11 13:14:16 +0000

    kyua: Make "test" command actually report about workdir cleanup issues
    
    Reviewed by:    ngie
    MFC after:      1 month
    Differential Revision:  https://reviews.freebsd.org/D51136
---
 contrib/kyua/drivers/run_tests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/kyua/drivers/run_tests.cpp b/contrib/kyua/drivers/run_tests.cpp
index d92940005242..3af9a1268815 100644
--- a/contrib/kyua/drivers/run_tests.cpp
+++ b/contrib/kyua/drivers/run_tests.cpp
@@ -209,7 +209,7 @@ finish_test(scheduler::result_handle_ptr result_handle,
     hooks.got_result(
         *test_result_handle->test_program(),
         test_result_handle->test_case_name(),
-        test_result_handle->test_result(),
+        test_result,
         result_handle->end_time() - result_handle->start_time());
 }