From ff77e910bc2c2dc34882402c732e8d57dde6d422 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 13 Mar 2023 11:50:47 +0100 Subject: testprogs: Pass configuration to test_export_keytab_heimdal.sh BUG: https://bugzilla.samba.org/show_bug.cgi?id=15336 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- source4/selftest/tests.py | 3 ++- testprogs/blackbox/test_export_keytab_heimdal.sh | 23 ++++++++++++----------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index e89a53d6e97..113800766e4 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -673,7 +673,8 @@ if have_heimdal_support: '$REALM', '$DOMAIN', "$PREFIX", - smbclient3 + smbclient3, + configuration ]) plantestsuite("samba4.blackbox.kpasswd", "ad_dc:local", diff --git a/testprogs/blackbox/test_export_keytab_heimdal.sh b/testprogs/blackbox/test_export_keytab_heimdal.sh index 5485b43fb87..3538daabc99 100755 --- a/testprogs/blackbox/test_export_keytab_heimdal.sh +++ b/testprogs/blackbox/test_export_keytab_heimdal.sh @@ -3,9 +3,9 @@ # Copyright (C) 2006-2007 Jelmer Vernooij # Copyright (C) 2006-2008 Andrew Bartlett -if [ $# -lt 5 ]; then +if [ $# -lt 7 ]; then cat <