testsuite: Shorten multiline pattern message to the same for fail and pass

As recommended by testsuite maintainer: Regression analysis
works only if the string is the same.

testsuite:
	* lib/multiline.exp (handle-multiline-outputs): Shorten
	message to the same for fail and pass.
This commit is contained in:
Hans-Peter Nilsson 2023-02-27 20:00:25 +01:00 committed by Hans-Peter Nilsson
parent 5c70121c57
commit cdbcd46c1b

View file

@ -169,9 +169,9 @@ proc handle-multiline-outputs { text } {
# Use "regsub" to attempt to prune the pattern from $text
if {[regsub -line $rexp $text "" text]} {
# The multiline pattern was pruned.
${maybe_x}pass "$title was found"
${maybe_x}pass "$title"
} else {
${maybe_x}fail "$title not found"
${maybe_x}fail "$title"
}
set index [expr $index + 1]