mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
selftest: Make net command available in sharesec test
Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6bf6e5364a
commit
cb907fbee8
@ -10,15 +10,17 @@
|
||||
# Copyright (C) 2015 Christof Schmitt
|
||||
|
||||
if [ $# -lt 3 ]; then
|
||||
echo Usage: test_sharesec.sh SERVERCONFFILE SHARESEC SHARE
|
||||
echo Usage: test_sharesec.sh SERVERCONFFILE SHARESEC NET SHARE
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CONF=$1
|
||||
SHARESEC=$2
|
||||
SHARE=$3
|
||||
NET=$3
|
||||
SHARE=$4
|
||||
|
||||
CMD="$SHARESEC $CONF $SHARE"
|
||||
NET_CMD="$NET $CONF"
|
||||
|
||||
incdir=$(dirname $0)/../../../testprogs/blackbox
|
||||
. $incdir/subunit.sh
|
||||
|
@ -769,7 +769,8 @@ plantestsuite("samba3.blackbox.rpcclient_samlogon", "ad_member:local", [os.path.
|
||||
"$DC_USERNAME", "$DC_PASSWORD", "ncacn_np:$DC_SERVER", configuration])
|
||||
plantestsuite("samba3.blackbox.sharesec", "simpleserver:local",
|
||||
[os.path.join(samba3srcdir, "script/tests/test_sharesec.sh"),
|
||||
configuration, os.path.join(bindir(), "sharesec"), "tmp"])
|
||||
configuration, os.path.join(bindir(), "sharesec"),
|
||||
os.path.join(bindir(), "net"), "tmp"])
|
||||
|
||||
plantestsuite("samba3.blackbox.net_tdb", "simpleserver:local",
|
||||
[os.path.join(samba3srcdir, "script/tests/test_net_tdb.sh"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user