autobuild: intermittent test failure detected
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2013-12-04-1418/flakey.log The samba3 build logs are available here: http://git.samba.org/autobuild.flakey/2013-12-04-1418/samba3.stderr http://git.samba.org/autobuild.flakey/2013-12-04-1418/samba3.stdout The source4 build logs are available here: http://git.samba.org/autobuild.flakey/2013-12-04-1418/samba.stderr http://git.samba.org/autobuild.flakey/2013-12-04-1418/samba.stdout The top commit at the time of the failure was: commit 4b637c367fdda832e95208f49e8893b0a0cac4b4 Author: Pavel Reichl pavel.rei...@redhat.com Date: Tue Dec 3 14:37:20 2013 + ldb: use of NULL pointer bugfix Autobuild-User(master): Simo Sorce i...@samba.org Autobuild-Date(master): Tue Dec 3 21:13:53 CET 2013 on sn-devel-104
[SCM] NSS Wrapper Repository - branch master updated
The branch, master has been updated via 20f4de9 cmake: Check for getnameinfo on older distributions. via 93adc03 Add .gitignore. from 7e63f09 nwrap: Try to fix some compile warning. http://gitweb.samba.org/?p=nss_wrapper.git;a=shortlog;h=master - Log - commit 20f4de9ddc490caf8df57eb01240527a54b0 Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 16:44:13 2013 +0100 cmake: Check for getnameinfo on older distributions. This should fix the build on CentOS 5.5. commit 93adc03b15c39b8537a9ccdf4f0033009f64fb89 Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 16:43:43 2013 +0100 Add .gitignore. --- Summary of changes: .gitignore|9 + ConfigureChecks.cmake |6 ++ config.h.cmake|1 + src/nss_wrapper.c |5 + 4 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 .gitignore Changeset truncated at 500 lines: diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..8fd1310 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +*.a +*.o +.* +*.swp +*~$ +build +obj +cscope.* +tags diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index ef689b8..8c7539a 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -177,6 +177,12 @@ check_prototype_definition(getnameinfo unistd.h;netdb.h HAVE_LINUX_GETNAMEINFO) +check_prototype_definition(getnameinfo +int getnameinfo (const struct sockaddr *sa, socklen_t salen, char *host, socklen_t __hostlen, char *serv, socklen_t servlen, unsigned int flags) +-1 +unistd.h;netdb.h +HAVE_LINUX_GETNAMEINFO_UNSIGNED) + # STRUCT MEMBERS check_struct_has_member(struct sockaddr sa_len sys/socket.h netinet/in.h HAVE_STRUCT_SOCKADDR_SA_LEN) diff --git a/config.h.cmake b/config.h.cmake index c1523ae..1fd9281 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -73,6 +73,7 @@ #cmakedefine HAVE_SOLARIS_GETHOSTNAME 1 #cmakedefine HAVE_BSD_SETGRENT 1 #cmakedefine HAVE_LINUX_GETNAMEINFO 1 +#cmakedefine HAVE_LINUX_GETNAMEINFO_UNSIGNED 1 #cmakedefine HAVE_STRUCT_SOCKADDR_SA_LEN 1 #cmakedefine HAVE_IPV6 1 diff --git a/src/nss_wrapper.c b/src/nss_wrapper.c index 546fa10..c00e5cb 100644 --- a/src/nss_wrapper.c +++ b/src/nss_wrapper.c @@ -3745,6 +3745,11 @@ int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, socklen_t hostlen, char *serv, socklen_t servlen, int flags) +#elif defined(HAVE_LINUX_GETNAMEINFO_UNSIGNED) +int getnameinfo(const struct sockaddr *sa, socklen_t salen, + char *host, socklen_t hostlen, + char *serv, socklen_t servlen, + unsigned int flags) #else int getnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, -- NSS Wrapper Repository
[SCM] NSS Wrapper Repository - branch master updated
The branch, master has been updated via 008f270 tests: Use AF_INET6 for testing. from 20f4de9 cmake: Check for getnameinfo on older distributions. http://gitweb.samba.org/?p=nss_wrapper.git;a=shortlog;h=master - Log - commit 008f2703feea994f9578a504fb733ef41da170a3 Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 16:49:38 2013 +0100 tests: Use AF_INET6 for testing. --- Summary of changes: tests/test_getaddrinfo.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/tests/test_getaddrinfo.c b/tests/test_getaddrinfo.c index 71b08cd..4825e77 100644 --- a/tests/test_getaddrinfo.c +++ b/tests/test_getaddrinfo.c @@ -274,7 +274,7 @@ static void test_nwrap_getaddrinfo_null(void **state) (void) state; /* unused */ memset(hints, 0, sizeof(struct addrinfo)); - hints.ai_family = AF_UNSPEC; + hints.ai_family = AF_INET6; hints.ai_socktype = SOCK_DGRAM; hints.ai_protocol = 17; hints.ai_flags = AI_ADDRCONFIG; -- NSS Wrapper Repository
[SCM] UID Wrapper Repository - branch master updated
The branch, master has been updated via 6d5eb67 tests: Use SYS_gettimeofday for testing. from 37076a7 tests: Fix testsuite on Solaris. http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master - Log - commit 6d5eb67f67ce37e409aa26721d70b0400c7b2cee Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 17:08:19 2013 +0100 tests: Use SYS_gettimeofday for testing. SYS_stat is a bad idea cause you need to know kernel internals. --- Summary of changes: tests/testsuite.c | 23 --- 1 files changed, 20 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/tests/testsuite.c b/tests/testsuite.c index a666067..ddf3ee4 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -11,6 +11,7 @@ #include stdio.h #include sys/types.h #include sys/stat.h +#include sys/time.h #include unistd.h #ifdef HAVE_SYS_SYSCALL_H @@ -20,6 +21,8 @@ #include syscall.h #endif +#define ZERO_STRUCT(x) memset((char *)(x), 0, sizeof(x)) + static void test_uwrap_seteuid(void **state) { int rc; @@ -109,7 +112,8 @@ static void test_uwrap_syscall(void **state) { long int rc; char *env; - struct stat sb; + struct timeval tv1, tv2; + struct timezone tz1, tz2; env = getenv(UID_WRAPPER); if (env == NULL) { @@ -119,16 +123,29 @@ static void test_uwrap_syscall(void **state) (void) state; /* unused */ + rc = syscall(SYS_getpid); + assert_int_equal(rc, getpid()); + rc = access(., R_OK); assert_int_equal(rc, 0); rc = syscall(SYS_access, ., R_OK); assert_int_equal(rc, 0); - rc = syscall(SYS_stat, ., sb); + ZERO_STRUCT(tv1); + ZERO_STRUCT(tv2); + ZERO_STRUCT(tz1); + ZERO_STRUCT(tz2); + + rc = gettimeofday(tv1, tz1); + assert_int_equal(rc, 0); + + rc = syscall(SYS_gettimeofday, tv2, tz2); assert_int_equal(rc, 0); - assert_true(S_ISDIR(sb.st_mode)); + assert_int_equal(tv1.tv_sec, tv2.tv_sec); + assert_int_equal(tz2.tz_dsttime, tz2.tz_dsttime); + assert_int_equal(tz2.tz_minuteswest, tz2.tz_minuteswest); } static void test_uwrap_syscall_setreuid(void **state) -- UID Wrapper Repository
[SCM] UID Wrapper Repository - branch master updated
The branch, master has been updated via 764af96 cmake: Set _FORTIFY_SOURCE only for optimized builds. from 6d5eb67 tests: Use SYS_gettimeofday for testing. http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master - Log - commit 764af969f05d58a77829d5fa4edb1cb9ea85235b Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 17:38:52 2013 +0100 cmake: Set _FORTIFY_SOURCE only for optimized builds. --- Summary of changes: cmake/Modules/DefineCompilerFlags.cmake |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/cmake/Modules/DefineCompilerFlags.cmake b/cmake/Modules/DefineCompilerFlags.cmake index 582ea1c..0ab8802 100644 --- a/cmake/Modules/DefineCompilerFlags.cmake +++ b/cmake/Modules/DefineCompilerFlags.cmake @@ -28,10 +28,10 @@ if (UNIX AND NOT WIN32) if (CMAKE_BUILD_TYPE) string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) -if (NOT CMAKE_BUILD_TYPE_LOWER MATCHES debug) -check_c_compiler_flag(-D_FORTIFY_SOURCE=2 WITH_FORTIFY_SOURCE) +if (CMAKE_BUILD_TYPE_LOWER MATCHES (release|relwithdebinfo|minsizerel)) +check_c_compiler_flag(-Wp,-D_FORTIFY_SOURCE=2 WITH_FORTIFY_SOURCE) if (WITH_FORTIFY_SOURCE) -set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2) +set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wp,-D_FORTIFY_SOURCE=2) endif (WITH_FORTIFY_SOURCE) endif() endif() -- UID Wrapper Repository
[SCM] NSS Wrapper Repository - branch master updated
The branch, master has been updated via fa30df7 cmake: Set _FORTIFY_SOURCE only for optimized builds. from 008f270 tests: Use AF_INET6 for testing. http://gitweb.samba.org/?p=nss_wrapper.git;a=shortlog;h=master - Log - commit fa30df7c002410e6530d88602cc11244fec37c88 Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 17:40:27 2013 +0100 cmake: Set _FORTIFY_SOURCE only for optimized builds. --- Summary of changes: cmake/Modules/DefineCompilerFlags.cmake |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/cmake/Modules/DefineCompilerFlags.cmake b/cmake/Modules/DefineCompilerFlags.cmake index 582ea1c..0ab8802 100644 --- a/cmake/Modules/DefineCompilerFlags.cmake +++ b/cmake/Modules/DefineCompilerFlags.cmake @@ -28,10 +28,10 @@ if (UNIX AND NOT WIN32) if (CMAKE_BUILD_TYPE) string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) -if (NOT CMAKE_BUILD_TYPE_LOWER MATCHES debug) -check_c_compiler_flag(-D_FORTIFY_SOURCE=2 WITH_FORTIFY_SOURCE) +if (CMAKE_BUILD_TYPE_LOWER MATCHES (release|relwithdebinfo|minsizerel)) +check_c_compiler_flag(-Wp,-D_FORTIFY_SOURCE=2 WITH_FORTIFY_SOURCE) if (WITH_FORTIFY_SOURCE) -set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2) +set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wp,-D_FORTIFY_SOURCE=2) endif (WITH_FORTIFY_SOURCE) endif() endif() -- NSS Wrapper Repository
[SCM] UID Wrapper Repository - branch master updated
The branch, master has been updated via 7e534a7 tests: Add a test for setgroups(). via d9f5ea1 tests: Add a test for setgid(). from 764af96 cmake: Set _FORTIFY_SOURCE only for optimized builds. http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master - Log - commit 7e534a70cede4c8516e25f7754909285a3bc7d6b Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 17:58:44 2013 +0100 tests: Add a test for setgroups(). commit d9f5ea16e37ccc2fcffc90f6e263e1bf73ee895b Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 17:44:53 2013 +0100 tests: Add a test for setgid(). --- Summary of changes: tests/testsuite.c | 46 ++ 1 files changed, 46 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/tests/testsuite.c b/tests/testsuite.c index ddf3ee4..1a36346 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -14,6 +14,8 @@ #include sys/time.h #include unistd.h +#include grp.h + #ifdef HAVE_SYS_SYSCALL_H #include sys/syscall.h #endif @@ -22,6 +24,7 @@ #endif #define ZERO_STRUCT(x) memset((char *)(x), 0, sizeof(x)) +#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) static void test_uwrap_seteuid(void **state) { @@ -108,6 +111,30 @@ static void test_uwrap_setegid(void **state) assert_int_equal(u, 42); } +static void test_uwrap_setgid(void **state) +{ + int rc; + gid_t u; + char *env; + + env = getenv(UID_WRAPPER); + if (env == NULL) { + printf(UID_WRAPPER env not set, uid_wrapper is disabled\n); + return; + } + + (void) state; /* unused */ + + rc = setgid(-1); + assert_int_equal(rc, -1); + + rc = setgid(42); + assert_int_equal(rc, 0); + + u = getgid(); + assert_int_equal(u, 42); +} + static void test_uwrap_syscall(void **state) { long int rc; @@ -206,6 +233,23 @@ static void test_uwrap_syscall_setregid(void **state) assert_int_equal(g, 42); } +static void test_uwrap_setgroups(void **state) +{ + gid_t glist[] = { 100, 200, 300, 400, 500 }; + gid_t rlist[16]; + int rc; + + (void) state; /* unused */ + + rc = setgroups(ARRAY_SIZE(glist), glist); + assert_int_equal(rc, 0); + + rc = getgroups(ARRAY_SIZE(rlist), rlist); + assert_int_equal(rc, 5); + + assert_memory_equal(glist, rlist, sizeof(glist)); +} + int main(void) { int rc; @@ -214,8 +258,10 @@ int main(void) { unit_test(test_uwrap_seteuid), unit_test(test_uwrap_setuid), unit_test(test_uwrap_setegid), + unit_test(test_uwrap_setgid), unit_test(test_uwrap_syscall_setreuid), unit_test(test_uwrap_syscall_setregid), + unit_test(test_uwrap_setgroups), }; rc = run_tests(tests); -- UID Wrapper Repository
[SCM] UID Wrapper Repository - branch master updated
The branch, master has been updated via 644c98e tests: Add a test for getgroups(). from 7e534a7 tests: Add a test for setgroups(). http://gitweb.samba.org/?p=uid_wrapper.git;a=shortlog;h=master - Log - commit 644c98eac3246a676845077f5094834df9a50374 Author: Andreas Schneider a...@cryptomilk.org Date: Wed Dec 4 18:07:54 2013 +0100 tests: Add a test for getgroups(). --- Summary of changes: tests/testsuite.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/tests/testsuite.c b/tests/testsuite.c index 1a36346..67836fa 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -233,6 +233,18 @@ static void test_uwrap_syscall_setregid(void **state) assert_int_equal(g, 42); } +static void test_uwrap_getgroups(void **state) +{ + gid_t rlist[16] = {0}; + int rc; + + (void) state; /* unused */ + + rc = getgroups(ARRAY_SIZE(rlist), rlist); + assert_int_equal(rc, 1); + assert_int_equal(rlist[0], getegid()); +} + static void test_uwrap_setgroups(void **state) { gid_t glist[] = { 100, 200, 300, 400, 500 }; @@ -255,6 +267,8 @@ int main(void) { const UnitTest tests[] = { unit_test(test_uwrap_syscall), + unit_test(test_uwrap_getgroups), + unit_test(test_uwrap_seteuid), unit_test(test_uwrap_setuid), unit_test(test_uwrap_setegid), -- UID Wrapper Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via a8cb1b1 smbd: Avoid calling notify_filter_string for low debuglevels from 4b637c3 ldb: use of NULL pointer bugfix http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit a8cb1b10042ee4f8d235b0b96224844f2e94c43b Author: Volker Lendecke v...@samba.org Date: Mon Dec 2 21:32:47 2013 +0100 smbd: Avoid calling notify_filter_string for low debuglevels Signed-off-by: Volker Lendecke v...@samba.org Reviewed-by: Andreas Schneider a...@samba.org Autobuild-User(master): Andreas Schneider a...@cryptomilk.org Autobuild-Date(master): Wed Dec 4 20:09:39 CET 2013 on sn-devel-104 --- Summary of changes: source3/smbd/smb2_notify.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/smb2_notify.c b/source3/smbd/smb2_notify.c index 81aa615..77399ef 100644 --- a/source3/smbd/smb2_notify.c +++ b/source3/smbd/smb2_notify.c @@ -195,7 +195,7 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx, state-smbreq = smbreq; smbreq-async_priv = (void *)req; - { + if (DEBUGLEVEL = 3) { char *filter_string; filter_string = notify_filter_string(NULL, in_completion_filter); -- Samba Shared Repository
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via de55856 lib/replace remove orphaned code via 90df45a s3:utils remove orphaned code from a8cb1b1 smbd: Avoid calling notify_filter_string for low debuglevels http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit de55856745da2bae4b3d9cb4b293b4ebfb4a67ef Author: Christian Ambach a...@samba.org Date: Fri Nov 22 05:11:01 2013 +0100 lib/replace remove orphaned code this is not compiled and used anymore Signed-off-by: Christian Ambach a...@samba.org Reviewed-By: Jelmer Vernooij jel...@samba.org Autobuild-User(master): Christian Ambach a...@samba.org Autobuild-Date(master): Wed Dec 4 22:55:12 CET 2013 on sn-devel-104 commit 90df45a67a1dfcdacea310e7c3d060bf76c62a9c Author: Christian Ambach a...@samba.org Date: Fri Nov 22 05:09:08 2013 +0100 s3:utils remove orphaned code this does not even compile at all.. looks like a real orphan Signed-off-by: Christian Ambach a...@samba.org Reviewed-By: Jelmer Vernooij jel...@samba.org --- Summary of changes: lib/replace/repdir_getdents.c | 166 lib/replace/repdir_getdirentries.c | 183 source3/utils/smbw_sample.c| 96 --- 3 files changed, 0 insertions(+), 445 deletions(-) delete mode 100644 lib/replace/repdir_getdents.c delete mode 100644 lib/replace/repdir_getdirentries.c delete mode 100644 source3/utils/smbw_sample.c Changeset truncated at 500 lines: diff --git a/lib/replace/repdir_getdents.c b/lib/replace/repdir_getdents.c deleted file mode 100644 index afc634a..000 --- a/lib/replace/repdir_getdents.c +++ /dev/null @@ -1,166 +0,0 @@ -/* - Unix SMB/CIFS implementation. - - Copyright (C) Andrew Tridgell 2005 - - ** NOTE! The following LGPL license applies to the replace - ** library. This does NOT imply that all of Samba is released - ** under the LGPL - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 3 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, see http://www.gnu.org/licenses/. -*/ -/* - a replacement for opendir/readdir/telldir/seekdir/closedir for BSD systems - - This is needed because the existing directory handling in FreeBSD - and OpenBSD (and possibly NetBSD) doesn't correctly handle unlink() - on files in a directory where telldir() has been used. On a block - boundary it will occasionally miss a file when seekdir() is used to - return to a position previously recorded with telldir(). - - This also fixes a severe performance and memory usage problem with - telldir() on BSD systems. Each call to telldir() in BSD adds an - entry to a linked list, and those entries are cleaned up on - closedir(). This means with a large directory closedir() can take an - arbitrary amount of time, causing network timeouts as millions of - telldir() entries are freed - - Note! This replacement code is not portable. It relies on getdents() - always leaving the file descriptor at a seek offset that is a - multiple of DIR_BUF_SIZE. If the code detects that this doesn't - happen then it will abort(). It also does not handle directories - with offsets larger than can be stored in a long, - - This code is available under other free software licenses as - well. Contact the author. -*/ - -#include stdlib.h -#include sys/stat.h -#include unistd.h -#include sys/types.h -#include errno.h -#include fcntl.h -#include dirent.h - -#define DIR_BUF_BITS 9 -#define DIR_BUF_SIZE (1DIR_BUF_BITS) - -struct dir_buf { - int fd; - int nbytes, ofs; - off_t seekpos; - char buf[DIR_BUF_SIZE]; -}; - -DIR *opendir(const char *dname) -{ - struct dir_buf *d; - struct stat sb; - d = malloc(sizeof(*d)); - if (d == NULL) { - errno = ENOMEM; - return NULL; - } - d-fd = open(dname, O_RDONLY); - if (d-fd == -1) { - free(d); - return NULL; - } - if (fstat(d-fd, sb) 0) { - close(d-fd); - free(d); - return NULL; - } - if (!S_ISDIR(sb.st_mode)) { - close(d-fd); - free(d); - errno = ENOTDIR; - return NULL; - } -
autobuild: intermittent test failure detected
The autobuild test system has detected an intermittent failing test in the current master tree. The autobuild log of the failure is available here: http://git.samba.org/autobuild.flakey/2013-12-05-0219/flakey.log The samba3 build logs are available here: http://git.samba.org/autobuild.flakey/2013-12-05-0219/samba3.stderr http://git.samba.org/autobuild.flakey/2013-12-05-0219/samba3.stdout The source4 build logs are available here: http://git.samba.org/autobuild.flakey/2013-12-05-0219/samba.stderr http://git.samba.org/autobuild.flakey/2013-12-05-0219/samba.stdout The top commit at the time of the failure was: commit de55856745da2bae4b3d9cb4b293b4ebfb4a67ef Author: Christian Ambach a...@samba.org Date: Fri Nov 22 05:11:01 2013 +0100 lib/replace remove orphaned code this is not compiled and used anymore Signed-off-by: Christian Ambach a...@samba.org Reviewed-By: Jelmer Vernooij jel...@samba.org Autobuild-User(master): Christian Ambach a...@samba.org Autobuild-Date(master): Wed Dec 4 22:55:12 CET 2013 on sn-devel-104
[SCM] Samba Shared Repository - branch master updated
The branch, master has been updated via 97e8b56 idmap_cache: Use gencache_parse via 89013af idmap_cache: Use an fstring instead of talloc_asprintf via 051fb91 messaging3: Do not go through messages.tdb for self-sends via 549b70e torture: enum snapshots after FSRVP creation via 29b730a test: add fake_snap.pl for snapshot simulation via b0bbb59 ctdb:tests: update README via 3c81066 ctdb/tests/scripts: Promote scripts/run_tests via 318f2cf ctdb/tests/scripts: Simplify the top-level test scripts via bbd46e8 ctdb/tests/scripts: Sort command-line options via f67a104 ctdb/tests/integration: Decentralise the daemon restart code via f05db5e ctdb/tests/integration: Update daemons shutdown pseudo-test via 6b15fe2 ctdb/tests/simple: Local daemons version of setup_ctdb() overrides via 85a711f ctdb/tests/integration: Remove some unused functions via a3fd8dd ctdb/tests/integration: Remove the time logging code via 28acce2 ctdb/tests/simple: Move the local daemons code to its own file via ef0e8cc ctdb/tests/integration: Update NFS tickles test and supporting code from de55856 lib/replace remove orphaned code http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log - commit 97e8b56250f30e73ad4bdcae292fe5c0df65e69a Author: Volker Lendecke v...@samba.org Date: Wed Dec 4 15:37:21 2013 + idmap_cache: Use gencache_parse This avoids a few tallocs and brings down user CPU a bit more Signed-off-by: Volker Lendecke v...@samba.org Reviewed-by: Michael Adam ob...@samba.org Autobuild-User(master): Michael Adam ob...@samba.org Autobuild-Date(master): Thu Dec 5 03:06:10 CET 2013 on sn-devel-104 commit 89013af15aa45311510318b517de8986580f4e2f Author: Volker Lendecke v...@samba.org Date: Wed Dec 4 15:14:03 2013 + idmap_cache: Use an fstring instead of talloc_asprintf In a test doing one million uid2sid calls this brings down user CPU from 1.3 seconds to 0.9 seconds. And it saves a few code lines. Signed-off-by: Volker Lendecke v...@samba.org Reviewed-by: Michael Adam ob...@samba.org commit 051fb9155642a8c74f892df3547203a55826d2b9 Author: Volker Lendecke v...@samba.org Date: Tue Dec 3 13:20:38 2013 + messaging3: Do not go through messages.tdb for self-sends Signed-off-by: Volker Lendecke v...@samba.org Reviewed-by: Michael Adam ob...@samba.org commit 549b70eb434889ba54d83776f3773f2eac513ba3 Author: David Disseldorp dd...@samba.org Date: Tue Dec 3 14:45:50 2013 +0100 torture: enum snapshots after FSRVP creation Issue an SMB2 ENUM_SNAPSHOTS ioctl following FSRVP snapshot creation to cover Explorer previous file version use-cases. This test will fail against Windows Server 2012, as FSRVP created snapshots are not exposed via the ENUM_SNAPSHOTS ioctl. Signed-off-by: David Disseldorp dd...@samba.org Reviewed-by: Michael Adam ob...@samba.org commit 29b730a4487410e4bdb42d970dc21fe235dce654 Author: David Disseldorp dd...@samba.org Date: Tue Dec 3 14:45:49 2013 +0100 test: add fake_snap.pl for snapshot simulation The script simulates snapshots by simply copying file data from the base path to a snapshot path located under .snapshots/@GMT-%Y.%m.%d-%H.%M.%S/ Signed-off-by: David Disseldorp dd...@samba.org Reviewed-by: Michael Adam ob...@samba.org commit b0bbb59c49bd068a0a8feea76b2564da8cfabb11 Author: Michael Adam ob...@samba.org Date: Fri Nov 29 10:15:20 2013 +0100 ctdb:tests: update README explain how to run individual tests and test collections and remove mention of tests/scripts/run_tests which does not exist any more. Signed-off-by: Michael Adam ob...@samba.org Reviewed-by: Martin Schwenke mar...@meltin.net commit 3c81066105b70921a616feede33e7327c0f49c61 Author: Martin Schwenke mar...@meltin.net Date: Mon Dec 2 15:39:48 2013 +1100 ctdb/tests/scripts: Promote scripts/run_tests The wrapper is not needed anymore. Signed-off-by: Martin Schwenke mar...@meltin.net Reviewed-by: Michael Adam ob...@samba.org commit 318f2cf9123875acdef39d170cdbc6683a79e896 Author: Martin Schwenke mar...@meltin.net Date: Mon Dec 2 15:37:18 2013 +1100 ctdb/tests/scripts: Simplify the top-level test scripts At the moment run_tests.sh has quite fragile argument processing. It needs that annoying -- between options and tests. The random default (mktemp -d) for TEST_VAR_DIR is wrong and is worked around in various places. Instead: * Change the default behaviour to print a summary, add new option -N to turn off summary, and remove old -s option. * Change the default behaviour to run integration tests with local daemons, add new options -c to run on a