From 12b8dbd0bbd7ab3fef8a7e31346679bc24ea78d2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 17 Mar 2021 15:44:37 -0700 Subject: [PATCH] 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 --- 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(-) 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 \ -- 2.47.3