]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
testsuite: fix `skip_row_' subroutine in tap-functions.sh
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 8 Sep 2011 20:46:45 +0000 (22:46 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 8 Sep 2011 20:46:45 +0000 (22:46 +0200)
* 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
tests/tap-functions.sh

index 757e1e3f2e4e83ee21b886a98e64b70cb0f256b9..d9e76dbd8100e885b57d7eba2077a1282b2e58a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        installcheck: support it in our own testsuite
index eb27ba6059577a65a1a1f738ac48e96aa4aea43f..e8ce8761127928b225a6cb933ea5b8cffbf875c6 100644 (file)
@@ -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 ...]