summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-12-17 12:25:15 +0100
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commitfca9c56836cd28875d67eef6e33628f8a51ebd88 (patch)
tree9fd4716f3e2faf16a1807fd980bb8ed3f9ec872e /selftest
parent9fb88e6ee79da8912b696bbbcda76f3020662bdf (diff)
downloadsamba-fca9c56836cd28875d67eef6e33628f8a51ebd88.tar.gz
tests: Use ldbsearch '--scope instead of '-s'
We should use long options in tests to make clear what we are trying to do. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/target/Samba4.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 20cc2949189..2cbd306d8bc 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -166,7 +166,7 @@ sub wait_for_start($$)
$cmd .= "$testenv_vars->{CONFIGURATION} ";
$cmd .= "-H ldap://$testenv_vars->{SERVER} ";
$cmd .= "-U$testenv_vars->{USERNAME}%$testenv_vars->{PASSWORD} ";
- $cmd .= "-s base ";
+ $cmd .= "--scope base ";
$cmd .= "-b '$search_dn' ";
while (system("$cmd >/dev/null") != 0) {
$count++;