The branch, master has been updated
       via  e78b887 ctdb-tests: Catch cases where mktemp fails due to missing 
TMPDIR
      from  ece5e67 s3:winbind: Use the correct talloc context for user 
information

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e78b8875312d263ee9ad67e740610019d25ef7ad
Author: Martin Schwenke <mar...@meltin.net>
Date:   Sat Mar 18 20:38:32 2017 +1100

    ctdb-tests: Catch cases where mktemp fails due to missing TMPDIR
    
    TMPDIR sometimes goes missing during autobuild.  When that happens the
    error messages produced by CTDB tests are not very helpful.  This
    should make it clear.
    
    Signed-off-by: Martin Schwenke <mar...@meltin.net>
    Reviewed-by: Amitay Isaacs <ami...@gmail.com>
    
    Autobuild-User(master): Amitay Isaacs <ami...@samba.org>
    Autobuild-Date(master): Mon Mar 20 08:53:02 CET 2017 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 ctdb/tests/run_tests.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh
index f128d95..d5f3116 100755
--- a/ctdb/tests/run_tests.sh
+++ b/ctdb/tests/run_tests.sh
@@ -172,8 +172,8 @@ if ! which mktemp >/dev/null 2>&1 ; then
     }
 fi
 
-tf=$(mktemp)
-sf=$(mktemp)
+tf=$(mktemp) || die "mktemp failed for tf - is TMPDIR missing?"
+sf=$(mktemp) || die "mktemp failed for sf - is TMPDIR missing?"
 
 set -o pipefail
 


-- 
Samba Shared Repository

Reply via email to