From 56fb55efd476952ea766f917c63c5a301425b600 Mon Sep 17 00:00:00 2001 From: rpluem Date: Tue, 2 Jun 2009 19:43:48 +0000 Subject: Merge r780410 from trunk: * Ensure that the in list in the for loop contains at least one argument as some shell puke if this is empty. Submitted by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@781139 13f79535-47bb-0310-9956-ffa450edef68 --- test/Makefile.in | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/test/Makefile.in b/test/Makefile.in index 94e75b19..0d6ce232 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -61,13 +61,15 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE) progfailed=""; \ for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \ if test "$$prog" = 'dbd'; then \ - for driver in @apu_dbd_tests@; do \ - @apr_shlibpath_var@="`echo "../crypto/.libs:../dbd/.libs:../ldap/.libs:$$@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ - ./$$prog $$driver; \ - status=$$?; \ - if test $$status != 0; then \ - teststatus=$$status; \ - progfailed="$$progfailed '$$prog $$driver'"; \ + for driver in none @apu_dbd_tests@; do \ + if test "$$driver" != 'none'; then \ + @apr_shlibpath_var@="`echo "../crypto/.libs:../dbd/.libs:../ldap/.libs:$$@apr_shlibpath_var@" | sed -e 's/::*$$//'`" \ + ./$$prog $$driver; \ + status=$$?; \ + if test $$status != 0; then \ + teststatus=$$status; \ + progfailed="$$progfailed '$$prog $$driver'"; \ + fi; \ fi; \ done; \ else \ -- cgit v1.2.1