[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {testsuite-work} testsuite: fix `skip_row_' subroutine in tap-func
From: |
Stefano Lattarini |
Subject: |
[FYI] {testsuite-work} testsuite: fix `skip_row_' subroutine in tap-functions.sh |
Date: |
Thu, 8 Sep 2011 22:47:57 +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 | 7 +++++++
tests/tap-functions.sh | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 757e1e3..d9e76db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-09-08 Stefano Lattarini <address@hidden>
+ 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 <address@hidden>
+
installcheck: support it in our own testsuite
* NEWS: Update.
* tests/defs-static.in ($am_running_installcheck): New variable.
diff --git a/tests/tap-functions.sh b/tests/tap-functions.sh
index eb27ba6..e8ce876 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 ...]
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {testsuite-work} testsuite: fix `skip_row_' subroutine in tap-functions.sh,
Stefano Lattarini <=