pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/regress/tools/files Don't require too much from a simp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/72718622c4a1
branches: trunk
changeset: 503405:72718622c4a1
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Nov 19 22:55:24 2005 +0000
description:
Don't require too much from a simple awk. 6144 bytes per line must be
enough. At least for Solaris.
diffstat:
regress/tools/files/awk-test.sh | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 3a89b94ca0b9 -r 72718622c4a1 regress/tools/files/awk-test.sh
--- a/regress/tools/files/awk-test.sh Sat Nov 19 22:03:54 2005 +0000
+++ b/regress/tools/files/awk-test.sh Sat Nov 19 22:55:24 2005 +0000
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: awk-test.sh,v 1.4 2005/11/19 22:03:54 rillig Exp $
+# $NetBSD: awk-test.sh,v 1.5 2005/11/19 22:55:24 rillig Exp $
#
set -e
@@ -55,10 +55,13 @@
#
# Passing strings from stdin to stdout. awk should be able to handle at
-# least 2^20 characters per line.
+# least 2^12 characters per line.
+#
+# Solaris 9 /usr/bin/awk: 2559 bytes
+# Solaris 9 /usr/bin/nawk: 6144 bytes
#
line="a"
-for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do
+for i in 0 1 2 3 4 5 6 7 8 9 10 11 12; do
test_passline "line.2^${i}" "${line}"
line="${line}${line}"
done
Home |
Main Index |
Thread Index |
Old Index