Author: rpluem Date: Tue Jun 2 19:43:48 2009 New Revision: 781139 URL: http://svn.apache.org/viewvc?rev=781139&view=rev Log: 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 Modified: apr/apr-util/trunk/test/Makefile.in Modified: apr/apr-util/trunk/test/Makefile.in URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/test/Makefile.in?rev=781139&r1=781138&r2=781139&view=diff ============================================================================== --- apr/apr-util/trunk/test/Makefile.in (original) +++ apr/apr-util/trunk/test/Makefile.in Tue Jun 2 19:43:48 2009 @@ -61,13 +61,15 @@ 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 \