From 265e7f2373223f95cecd1e193d26c190c329a8fe Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 8 Sep 2011 22:46:45 +0200 Subject: [PATCH] testsuite: fix `skip_row_' subroutine in tap-functions.sh * tests/tap-functions.sh (skip_row_): Use `seq_', not `seq', to be portable to non-GNU systems. Bug revealed by a testsuite error on Solaris. --- ChangeLog | 7 +++++++ tests/tap-functions.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 757e1e3f2..d9e76dbd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-09-08 Stefano Lattarini + + testsuite: fix `skip_row_' in tap-functions.sh + * tests/tap-functions.sh (skip_row_): Use `seq_', not `seq', to + be portable to non-GNU systems. + Bug revealed by a testsuite error on Solaris. + 2011-09-08 Stefano Lattarini installcheck: support it in our own testsuite diff --git a/tests/tap-functions.sh b/tests/tap-functions.sh index eb27ba605..e8ce87611 100644 --- a/tests/tap-functions.sh +++ b/tests/tap-functions.sh @@ -166,7 +166,7 @@ skip_ () { result_ 'ok' -D SKIP ${1+"$@"}; } skip_row_ () { skip_count_=$1; shift - for i_ in `seq $skip_count_`; do skip_ ${1+"$@"}; done + for i_ in `seq_ $skip_count_`; do skip_ ${1+"$@"}; done } # skip_all_ [REASON ...] -- 2.47.2