From: Pádraig Brady
Date: Mon, 8 Nov 2010 10:26:08 +0000 (+0100)
Subject: tests: avoid portability problem with dash vs. local v=$splittable_val
X-Git-Tag: v8.7~10
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a14a80bd1a88dde4e361aa259264a54c4ffa3ea;p=thirdparty%2Fcoreutils.git
tests: avoid portability problem with dash vs. local v=$splittable_val
* tests/init.cfg (retry_delay_): Adjust awk script to print a single
floating point value, rather than many.
---
diff --git a/tests/init.cfg b/tests/init.cfg
index 778625702c..97dad175ec 100644
--- a/tests/init.cfg
+++ b/tests/init.cfg
@@ -391,7 +391,7 @@ retry_delay_()
local time_fail
while test $attempt -le $max_n_tries; do
local delay=$($AWK -v n=$num_sleeps -v s="$init_delay" \
- 'BEGIN { for (i=0;i