summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-31 13:10:49 +0000
committerrillig <rillig>2006-05-31 13:10:49 +0000
commita6dfdd65f30979bccefb5da5c91fb9df9cd3ceae (patch)
treeed99dfcde83a94f3ef2452660f9453007e93c613
parentcb3a8b109384e1bc68121d1e01245b14c92650d1 (diff)
downloadpkgsrc-a6dfdd65f30979bccefb5da5c91fb9df9cd3ceae.tar.gz
Double the length of the command line argument after each iteration.
-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
#