git: ff13773802dc - main - savecore tests: Update to match output from savecore(8)

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 24 Jan 2025 14:36:08 UTC
The branch main has been updated by markj:

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

commit ff13773802dcc22f3585fb953c9fffbb605ce3ac
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-24 14:32:36 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-24 14:32:36 +0000

    savecore tests: Update to match output from savecore(8)
---
 sbin/savecore/tests/livedump_test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/savecore/tests/livedump_test.sh b/sbin/savecore/tests/livedump_test.sh
index 42c726bfad4e..382b090235ee 100644
--- a/sbin/savecore/tests/livedump_test.sh
+++ b/sbin/savecore/tests/livedump_test.sh
@@ -13,7 +13,7 @@ livedump_kldstat_head()
 }
 livedump_kldstat_body()
 {
-	atf_check savecore -L .
+	atf_check -e match:"savecore .*- livedump" savecore -L .
 
 	kernel=$(sysctl -n kern.bootfile)