From e55c012accef40a9e07f8a9e67d54afd18ba2a7e Mon Sep 17 00:00:00 2001 From: Lukasz Zalewski Date: Sun, 13 Jun 2010 11:02:44 +0100 Subject: make test modules for net group set of commands and modification to the newuser to include additional parameters Signed-off-by: Jelmer Vernooij --- source4/selftest/tests.sh | 3 +- source4/setup/tests/blackbox_group.sh | 73 +++++++++++++++++++++++++++++++++ source4/setup/tests/blackbox_newuser.sh | 10 ++++- 3 files changed, 84 insertions(+), 2 deletions(-) create mode 100755 source4/setup/tests/blackbox_group.sh (limited to 'source4') diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh index adbd8e8b9b..d8f1ef68eb 100755 --- a/source4/selftest/tests.sh +++ b/source4/selftest/tests.sh @@ -514,4 +514,5 @@ plantestsuite "blackbox.provision.py" none PYTHON="$PYTHON" $samba4srcdir/setup/ plantestsuite "blackbox.provision-backend.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_provision-backend.sh "$PREFIX/provision" plantestsuite "blackbox.upgradeprovision.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_upgradeprovision.sh "$PREFIX/provision" plantestsuite "blackbox.setpassword.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_setpassword.sh "$PREFIX/provision" -plantestsuite "blackbox.newuser.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_newuser.sh "$PREFIX/provision" +plantestsuite "blackbox.newuser.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_newuser.sh "$PREFIX/provision" +plantestsuite "blackbox.group.py" none PYTHON="$PYTHON" $samba4srcdir/setup/tests/blackbox_group.sh "$PREFIX/provision" diff --git a/source4/setup/tests/blackbox_group.sh b/source4/setup/tests/blackbox_group.sh new file mode 100755 index 0000000000..f1d37b7692 --- /dev/null +++ b/source4/setup/tests/blackbox_group.sh @@ -0,0 +1,73 @@ +#!/bin/sh + +if [ $# -lt 1 ]; then +cat <