Skip to content

Commit af46b15

Browse files
liutgnucoiby
authored andcommitted
kdump test: reword the misleading test result
The former test result "Notice: Last successful vmcore creation on <date>" can be misleading. In fact, the <date> only represents the vmcore generated via "kdumpctl test", rather than any other vmcores generated via "sysrq-c" or normal kernel panic. So this patch will reword the test result as "Notice: Last successful vmcore creation test on <date>". So <date> only represents the last "vmcore creation test" rather than the last "vmcore creation" by any approach. Signed-off-by: Tao Liu <[email protected]>
1 parent e44958c commit af46b15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

kdumpctl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,16 +2134,16 @@ check_vmcore_creation_status()
21342134

21352135
case "$_status" in
21362136
success)
2137-
dinfo "Notice: Last successful vmcore creation on $_status_date"
2137+
dinfo "Notice: Last successful vmcore creation test on $_status_date"
21382138
;;
21392139
fail)
2140-
dwarn "Notice: Last NOT successful vmcore creation on $_status_date"
2140+
dwarn "Notice: Last NOT successful vmcore creation test on $_status_date"
21412141
;;
21422142
manual)
2143-
dwarn "Notice: Require manual check for kdump test of $_status_date"
2143+
dwarn "Notice: Require manual check for vmcore creation test of $_status_date"
21442144
;;
21452145
*)
2146-
derror "Unknown test status: $_status"
2146+
derror "Unknown vmcore creation test status: $_status"
21472147
;;
21482148
esac
21492149
}

0 commit comments

Comments
 (0)