From 8e96e9ea46351de34ad5cac9a9a9ece4226b462c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 2 Jul 2018 16:18:52 +0200 Subject: [PATCH] nsswitch: Add tests to lookup user via getpwnam BUG: https://bugzilla.samba.org/show_bug.cgi?id=13503 Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme --- nsswitch/tests/test_wbinfo_user_info.sh | 71 +++++++++++++++++++++---- selftest/knownfail.d/upn_handling | 2 + source3/selftest/tests.py | 4 +- 3 files changed, 66 insertions(+), 11 deletions(-) diff --git a/nsswitch/tests/test_wbinfo_user_info.sh b/nsswitch/tests/test_wbinfo_user_info.sh index 2803ac1408be..da30f97be74a 100755 --- a/nsswitch/tests/test_wbinfo_user_info.sh +++ b/nsswitch/tests/test_wbinfo_user_info.sh @@ -2,19 +2,20 @@ # Blackbox test for wbinfo lookup for account name and upn # Copyright (c) 2018 Andreas Schneider -if [ $# -lt 5 ]; then +if [ $# -lt 6 ]; then cat <