From 97615c10367731514aaba2614f2425d607339cf1 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 27 Feb 2024 12:50:34 +0000 Subject: Printing large tuples require more than 64 chars, bump the string limit. --- regress/usr.sbin/btrace/str.args | 2 +- regress/usr.sbin/btrace/str.bt | 2 +- regress/usr.sbin/btrace/str.ok | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/usr.sbin') diff --git a/regress/usr.sbin/btrace/str.args b/regress/usr.sbin/btrace/str.args index 355af032cf6..f162d36b529 100644 --- a/regress/usr.sbin/btrace/str.args +++ b/regress/usr.sbin/btrace/str.args @@ -3,5 +3,5 @@ is "free!" 4 SSH -111111111111111111111111111111111111111111111111111111111111112333 +1111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111112333 2 diff --git a/regress/usr.sbin/btrace/str.bt b/regress/usr.sbin/btrace/str.bt index 84455aa2cfc..e7953bdb984 100644 --- a/regress/usr.sbin/btrace/str.bt +++ b/regress/usr.sbin/btrace/str.bt @@ -6,7 +6,7 @@ BEGIN { /* Should truncate when given an index < the max (currently 64) */ printf("%sSSH %s %s\n", str($1, $4), $2, $3); - /* Should truncate long arguments to 64 bytes */ + /* Should truncate long arguments to STRLEN bytes */ printf("No 3 please: %s\n", str($6)); /* Should support nested expressions for the index */ diff --git a/regress/usr.sbin/btrace/str.ok b/regress/usr.sbin/btrace/str.ok index 88c5ba720d6..57d14c2253f 100644 --- a/regress/usr.sbin/btrace/str.ok +++ b/regress/usr.sbin/btrace/str.ok @@ -1,5 +1,5 @@ OpenBSD is free! OpenSSH is free! -No 3 please: 111111111111111111111111111111111111111111111111111111111111112 +No 3 please: 1111111111111111111111111111111111111111111111111111111111111112111111111111111111111111111111111111111111111111111111111111112 Open Open -- cgit v1.2.3