summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb62281@gmail.com>2018-10-28 20:38:39 +1100
committerBen Elliston <bje@gnu.org>2018-10-28 20:38:39 +1100
commit118f2e24f8aabf39c9f6e170a891f057d9cee2f6 (patch)
treee8adeb7e588d1bfc9e50396fa78612b09ba9aa3b
parent81651abb04defb181f9c98bfcc55e077dcaea452 (diff)
downloaddejagnu-118f2e24f8aabf39c9f6e170a891f057d9cee2f6.tar.gz
dejagnu-118f2e24f8aabf39c9f6e170a891f057d9cee2f6.tar.bz2
dejagnu-118f2e24f8aabf39c9f6e170a891f057d9cee2f6.zip
* lib/framework.exp (record_test): Fix message formatting.
Signed-off-by: Ben Elliston <bje@gnu.org>
-rw-r--r--ChangeLog4
-rw-r--r--lib/framework.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8272a3b..f2d2cdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-28 Jacob Bachmeyer <jcb62281@gmail.com>
+
+ * lib/framework.exp (record_test): Fix message formatting.
+
2018-07-20 Ben Elliston <bje@gnu.org>
* contrib/mysql/make-datafile.sh: Eliminate Shellcheck warnings.
diff --git a/lib/framework.exp b/lib/framework.exp
index 6cb93c5..9dd0b90 100644
--- a/lib/framework.exp
+++ b/lib/framework.exp
@@ -800,7 +800,7 @@ proc record_test { type message args } {
global multipass_name
if { $multipass_name != "" } {
- set message [format "$type: %s: $message" "$multipass_name"]
+ set message [format "$type: %s: %s" "$message" "$multipass_name"]
} else {
set message "$type: $message"
}