[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Thu Mar 18 02:58:01 UTC 2021


The branch, master has been updated
       via  12b8dbd0bbd s3: tests: Change logfile for printing expansion tests.
      from  10c198827d9 third_party: Update socket_wrapper to version 1.3.3

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


- Log -----------------------------------------------------------------
commit 12b8dbd0bbd7ab3fef8a7e31346679bc24ea78d2
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Mar 17 15:44:37 2021 -0700

    s3: tests: Change logfile for printing expansion tests.
    
    logfile=/tmp/$USER_printing_var_exp.log -> logfile="${SELFTEST_TMPDIR}/${USER}_printing_var_exp.log"
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Thu Mar 18 02:57:08 UTC 2021 on sn-devel-184

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

Summary of changes:
 source3/script/tests/printing/printing_var_exp_lpr_cmd.sh | 2 +-
 source3/script/tests/test_printing_var_exp.sh             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/script/tests/printing/printing_var_exp_lpr_cmd.sh b/source3/script/tests/printing/printing_var_exp_lpr_cmd.sh
index 0d99b8ac01e..ce039bb8fb3 100755
--- a/source3/script/tests/printing/printing_var_exp_lpr_cmd.sh
+++ b/source3/script/tests/printing/printing_var_exp_lpr_cmd.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-logfile=/tmp/$USER_printing_var_exp.log
+logfile="${SELFTEST_TMPDIR}/${USER}_printing_var_exp.log"
 
 rm -f "$logfile"
 
diff --git a/source3/script/tests/test_printing_var_exp.sh b/source3/script/tests/test_printing_var_exp.sh
index 21fe5b4913f..12231c82c41 100755
--- a/source3/script/tests/test_printing_var_exp.sh
+++ b/source3/script/tests/test_printing_var_exp.sh
@@ -22,7 +22,7 @@ incdir=`dirname $0`/../../../testprogs/blackbox
 smbclient="$BINDIR/smbclient"
 
 test_var_expansion() {
-	logfile=/tmp/$USER_printing_var_exp.log
+	logfile="${SELFTEST_TMPDIR}/${USER}_printing_var_exp.log"
 
 	$smbclient -U $DOMAIN/$USERNAME%$PASSWORD \
 		   //$SERVER_IP/print_var_exp \


-- 
Samba Shared Repository



More information about the samba-cvs mailing list