summaryrefslogtreecommitdiff
path: root/regress/tools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-31 13:10:49 +0000
committerrillig <rillig@pkgsrc.org>2006-05-31 13:10:49 +0000
commitf0eca5584b6a4a11039e790058373a0b10d5cb14 (patch)
treeed99dfcde83a94f3ef2452660f9453007e93c613 /regress/tools
parent34d219e2d9e61fe74ab006fff3225e3d7e4a4a8b (diff)
downloadpkgsrc-f0eca5584b6a4a11039e790058373a0b10d5cb14.tar.gz
Double the length of the command line argument after each iteration.
Diffstat (limited to 'regress/tools')
-rw-r--r--regress/tools/files/awk-test.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/tools/files/awk-test.sh b/regress/tools/files/awk-test.sh
index 931c574de25..9249316804e 100644
--- a/regress/tools/files/awk-test.sh
+++ b/regress/tools/files/awk-test.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: awk-test.sh,v 1.7 2005/11/24 19:20:18 rillig Exp $
+# $NetBSD: awk-test.sh,v 1.8 2006/05/31 13:10:49 rillig Exp $
#
set -e
@@ -48,6 +48,7 @@ test_assignment "cmd.3" \
line="a"
for i in 0 1 2 3 4 5 6 7 8 9 10 11 12; do
test_assignment "cmd.2^${i}" "${line}" "${line}"
+ line="${line}${line}"
done
#