summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-07 11:35:59 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-08 08:07:10 +0100
commit9f4b400237437b690a64c8864ac4df3d4b88b67b (patch)
tree3cee1df78d3cc535a6ea5e41e8b242cad42359e1 /nsswitch
parente650c40e11401f5ff8477292a46f14dfd06a2a29 (diff)
downloadsamba-9f4b400237437b690a64c8864ac4df3d4b88b67b.tar.gz
nsswitch:tests: Pass the envname to the script
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_wbinfo_user_info.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/nsswitch/tests/test_wbinfo_user_info.sh b/nsswitch/tests/test_wbinfo_user_info.sh
index 8158ead5a4b..c699a30538f 100755
--- a/nsswitch/tests/test_wbinfo_user_info.sh
+++ b/nsswitch/tests/test_wbinfo_user_info.sh
@@ -4,7 +4,7 @@
if [ $# -lt 6 ]; then
cat <<EOF
-Usage: $(basename $0) DOMAIN REALM OWN_DOMAIN USERNAME1 UPN_NAME1 USERNAME2 UPN_NAME2
+Usage: $(basename $0) DOMAIN REALM OWN_DOMAIN USERNAME1 UPN_NAME1 USERNAME2 UPN_NAME2 ENVNAME
EOF
exit 1;
fi
@@ -16,7 +16,8 @@ USERNAME1=$4
UPN_NAME1=$5
USERNAME2=$6
UPN_NAME2=$7
-shift 6
+ENVNAME=$8
+shift 7
failed=0