]> git.proxmox.com Git - mirror_zfs.git/blobdiff - config/user.m4
Add the ZFS Test Suite
[mirror_zfs.git] / config / user.m4
index 7f79420825645423613a3de472a73534522466c8..69d103c1058ad3d54e8bd571ebc29f92a63056c7 100644 (file)
@@ -11,9 +11,24 @@ AC_DEFUN([ZFS_AC_CONFIG_USER], [
        ZFS_AC_CONFIG_USER_ZLIB
        ZFS_AC_CONFIG_USER_LIBUUID
        ZFS_AC_CONFIG_USER_LIBBLKID
+       ZFS_AC_CONFIG_USER_LIBATTR
        ZFS_AC_CONFIG_USER_FRAME_LARGER_THAN
        ZFS_AC_CONFIG_USER_RUNSTATEDIR
-dnl #
-dnl #  Checks for library functions
+
+       ZFS_AC_CONFIG_USER_COMMANDS
+       ZFS_AC_TEST_FRAMEWORK
+
        AC_CHECK_FUNCS([mlockall])
 ])
+
+dnl #
+dnl # Setup the environment for the ZFS Test Suite.  Currently only
+dnl # Linux sytle systems are supported but this infrastructure can
+dnl # be extended to support other platforms if needed.
+dnl #
+AC_DEFUN([ZFS_AC_TEST_FRAMEWORK], [
+       ZONENAME="echo global"
+       AC_SUBST(ZONENAME)
+
+       AC_SUBST(RM)
+])