summaryrefslogtreecommitdiff
path: root/config-daemon.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-24 23:05:45 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-24 23:43:03 +0100
commit2178ed66f7ae8f793078c7e392af4bf1fb472968 (patch)
tree91589714052eb7d3fb36ca61f538ca72a578143c /config-daemon.ac
parent43da8f018d5835b62e8f5f1f4e2cc701f828a3db (diff)
downloadpatches-2178ed66f7ae8f793078c7e392af4bf1fb472968.tar
patches-2178ed66f7ae8f793078c7e392af4bf1fb472968.tar.gz
build: Reject or warn against file name length limit overruns.
* m4/guix.m4 (GUIX_TEST_ROOT_DIRECTORY, LINUX_HASH_BANG_LIMIT, SOCKET_FILE_NAME_LIMIT, GUIX_SOCKET_FILE_NAME_LENGTH, GUIX_TEST_SOCKET_FILE_NAME_LENGTH, GUIX_HASH_BANG_LENGTH, GUIX_CHECK_FILE_NAME_LIMITS): New macros. * configure.ac: Use 'GUIX_CHECK_FILE_NAME_LIMITS'. * config-daemon.ac: Use 'GUIX_TEST_ROOT_DIRECTORY'. * test-env.in: Check socket name length and emit warning if it exceeds 107.
Diffstat (limited to 'config-daemon.ac')
-rw-r--r--config-daemon.ac5
1 files changed, 2 insertions, 3 deletions
diff --git a/config-daemon.ac b/config-daemon.ac
index 32520acbf2..5f83d45a4c 100644
--- a/config-daemon.ac
+++ b/config-daemon.ac
@@ -127,9 +127,8 @@ if test "x$guix_build_daemon" = "xyes"; then
fi
dnl Temporary directory used to store the daemon's data.
- AC_MSG_CHECKING([for unit test root])
- GUIX_TEST_ROOT="`pwd`/test-tmp"
- AC_MSG_RESULT([$GUIX_TEST_ROOT])
+ GUIX_TEST_ROOT_DIRECTORY
+ GUIX_TEST_ROOT="$ac_cv_guix_test_root"
AC_SUBST([GUIX_TEST_ROOT])
AC_CONFIG_FILES([nix/scripts/list-runtime-roots],