From 4a14a80bd1a88dde4e361aa259264a54c4ffa3ea Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Mon, 8 Nov 2010 11:26:08 +0100
Subject: 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.
---
tests/init.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'tests')
diff --git a/tests/init.cfg b/tests/init.cfg
index 778625702..97dad175e 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