summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2024-02-27 12:50:34 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2024-02-27 12:50:34 +0000
commit97615c10367731514aaba2614f2425d607339cf1 (patch)
treef6c5b30f3bac89d6d57ca737c5eab11cd3a99862 /regress
parent7ad518a56c8ba7ffc93f598f7242a60643c88d2a (diff)
Printing large tuples require more than 64 chars, bump the string limit.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/btrace/str.args2
-rw-r--r--regress/usr.sbin/btrace/str.bt2
-rw-r--r--regress/usr.sbin/btrace/str.ok2
3 files changed, 3 insertions, 3 deletions
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