From 41b4a2a25203e4693e9c74835db0b6bdeca7b129 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 13 Mar 2023 12:23:26 +0100 Subject: [PATCH] testprogs: Pass configuration to test_kpasswd_mit.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_kpasswd_mit.sh | 24 +++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index 2142c51f53e..41ae6c7ec40 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -817,7 +817,8 @@ else: '$PASSWORD', '$REALM', '$DOMAIN', - "$PREFIX" + "$PREFIX", + configuration ]) plantestsuite("samba4.blackbox.pkinit_simple", diff --git a/testprogs/blackbox/test_kpasswd_mit.sh b/testprogs/blackbox/test_kpasswd_mit.sh index e6c31f6731c..d07ef2e2ec9 100755 --- a/testprogs/blackbox/test_kpasswd_mit.sh +++ b/testprogs/blackbox/test_kpasswd_mit.sh @@ -5,9 +5,9 @@ # Copyright (c) 2006-2008 Andrew Bartlett # Copyright (c) 2016 Andreas Schneider -if [ $# -lt 6 ]; then +if [ $# -lt 7 ]; then cat <