From a52b06751c2dec3d3b04be2b1a969fad24f86a7b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 20 Apr 2018 11:20:44 +0200 Subject: [PATCH] nsswitch:tests: Add test for wbinfo --user-info BUG: https://bugzilla.samba.org/show_bug.cgi?id=13369 Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher (cherry picked from commit 2715f52f54e66a73131a92d752a8c2447da1fd33) --- nsswitch/tests/test_wbinfo_user_info.sh | 83 +++++++++++++++++++++++++ selftest/knownfail.d/upn_handling | 11 ++++ source3/selftest/tests.py | 14 +++++ 3 files changed, 108 insertions(+) create mode 100755 nsswitch/tests/test_wbinfo_user_info.sh create mode 100644 selftest/knownfail.d/upn_handling diff --git a/nsswitch/tests/test_wbinfo_user_info.sh b/nsswitch/tests/test_wbinfo_user_info.sh new file mode 100755 index 00000000000..2803ac1408b --- /dev/null +++ b/nsswitch/tests/test_wbinfo_user_info.sh @@ -0,0 +1,83 @@ +#!/bin/sh +# Blackbox test for wbinfo lookup for account name and upn +# Copyright (c) 2018 Andreas Schneider + +if [ $# -lt 5 ]; then +cat <