summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_aio_fork.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-21 08:16:24 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-21 06:39:04 +0200
commit4d5471f1c634450020c4530f8d0c8dfcd7252fb3 (patch)
tree21dd9b9cf67d96634eabbf62bce641996dfabe7f /source3/modules/vfs_aio_fork.c
parent7cd4eb0ca69026031620cbe578cfd7216ea9ac6c (diff)
downloadsamba-4d5471f1c634450020c4530f8d0c8dfcd7252fb3.tar.gz
samba-4d5471f1c634450020c4530f8d0c8dfcd7252fb3.tar.bz2
samba-4d5471f1c634450020c4530f8d0c8dfcd7252fb3.zip
build: Remove special case for the build farm
Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_aio_fork.c')
-rw-r--r--source3/modules/vfs_aio_fork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c
index 1bbdae2985..811d44e6bb 100644
--- a/source3/modules/vfs_aio_fork.c
+++ b/source3/modules/vfs_aio_fork.c
@@ -355,10 +355,10 @@ static void aio_child_loop(int sockfd, struct mmap_area *map)
cmd_type_str(cmd_struct.cmd),
(int)cmd_struct.n, (int)cmd_struct.offset, fd));
-#ifdef ENABLE_BUILD_FARM_HACKS
+#ifdef DEVELOPER
{
/*
- * In the build farm, we want erratic behaviour for
+ * For developer testing, we want erratic behaviour for
* async I/O times
*/
uint8_t randval;
@@ -384,7 +384,7 @@ static void aio_child_loop(int sockfd, struct mmap_area *map)
cmd_struct.offset);
#if 0
/* This breaks "make test" when run with aio_fork module. */
-#ifdef ENABLE_BUILD_FARM_HACKS
+#ifdef DEVELOPER
ret_struct.size = MAX(1, ret_struct.size * 0.9);
#endif
#endif