summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2019-08-27 11:19:42 +0200
committerStefan Metzmacher <metze@samba.org>2020-12-17 13:59:37 +0000
commit98119189cfe7b76322253d30170528eb0bf33eb7 (patch)
tree07f90178b3ea99e3e6668f8ec069103f30160f59 /testprogs
parent577d4f1a60c41df82da8711dabde9361780a9144 (diff)
downloadsamba-98119189cfe7b76322253d30170528eb0bf33eb7.tar.gz
blackbox/test_samba-tool_ntacl.sh: script requires two arguments
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/blackbox/test_samba-tool_ntacl.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/testprogs/blackbox/test_samba-tool_ntacl.sh b/testprogs/blackbox/test_samba-tool_ntacl.sh
index 6991165cc63..6bee9344c5a 100755
--- a/testprogs/blackbox/test_samba-tool_ntacl.sh
+++ b/testprogs/blackbox/test_samba-tool_ntacl.sh
@@ -2,11 +2,9 @@
# Blackbox tests for samba-tool ntacl get/set on member server
# Copyright (C) 2018 Björn Baumbach <bb@sernet.de>
-if [ $# -lt 1 ]; then
-cat <<EOF
-Usage: test_net_ads_dns.sh PREFIX
-EOF
-exit 1;
+if [ $# -ne 2 ]; then
+ echo "Usage: test_samba-tool_ntacl.sh PREFIX DOMSID"
+ exit 1
fi
PREFIX=$1