Changeset 37beb92 in mod_gnutls


Ignore:
Timestamp:
Feb 12, 2017, 7:24:54 AM (10 months ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master
Children:
6135393
Parents:
fb4da99
Message:

Test suite: Do not explicitly set the mutex type to "default"

The setting can cause trouble when the mutex type "default" is file
based and its definition includes a path that the build process cannot
write to. This problem caused the Debian build to fail on hurd-i386,
where "default" resolved to "file:/var/run/apache2/" according to the
build log.

According to the HTTPD documentation a run-time file directory
relative to ServerRoot? is used absent an explicit setting, and the
ServerRoot? defined in test/base_apache.conf must be writable for the
test suite anyway.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r4ae5b82 r37beb92  
    153153# and test specific PID files if using namespaces, defaults otherwise.
    154154AS_IF([test "$use_netns" = "yes"],
    155       [MUTEX_TYPE="pthread"; PID_AFFIX="-\${TEST_NAME}"],
    156       [MUTEX_TYPE="default"; PID_AFFIX=""])
    157 AC_SUBST(MUTEX_TYPE)
     155      [MUTEX_CONF="Mutex pthread default"; PID_AFFIX="-\${TEST_NAME}"],
     156      [MUTEX_CONF=""; PID_AFFIX=""])
     157AC_SUBST(MUTEX_CONF)
    158158AC_SUBST(PID_AFFIX)
    159 AM_SUBST_NOTMAKE(MUTEX_TYPE)
     159AM_SUBST_NOTMAKE(MUTEX_CONF)
    160160AM_SUBST_NOTMAKE(PID_AFFIX)
    161161
  • test/apache-conf/netns.conf.in

    rcf4e708 r37beb92  
    11# This file contains options that are different depending on whether
    22# tests use namespaces or not.
    3 Mutex   @MUTEX_TYPE@    default
     3@MUTEX_CONF@
    44PidFile apache2@PID_AFFIX@.pid
Note: See TracChangeset for help on using the changeset viewer.