From: Stefano Lattarini Date: Thu, 8 Sep 2011 20:46:45 +0000 (+0200) Subject: testsuite: fix `skip_row_' subroutine in tap-functions.sh X-Git-Tag: ng-0.5a~89^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=265e7f2373223f95cecd1e193d26c190c329a8fe;p=thirdparty%2Fautomake.git 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. --- 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 ...]