From: Jeremy Allison Date: Wed, 17 Mar 2021 22:44:37 +0000 (-0700) Subject: s3: tests: Change logfile for printing expansion tests. X-Git-Tag: tevent-0.11.0~1463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12b8dbd0bbd7ab3fef8a7e31346679bc24ea78d2;p=thirdparty%2Fsamba.git 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 Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Thu Mar 18 02:57:08 UTC 2021 on sn-devel-184 --- 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 \