[PATCH 5/5] s4:unittest Fix unittest to reflect that wbinfo -r no longer fail

Matthieu Patou mat at matws.net
Tue Mar 9 05:35:54 MST 2010


---
 nsswitch/tests/test_wbinfo.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/nsswitch/tests/test_wbinfo.sh b/nsswitch/tests/test_wbinfo.sh
index 8d8f116..b92b8f0 100755
--- a/nsswitch/tests/test_wbinfo.sh
+++ b/nsswitch/tests/test_wbinfo.sh
@@ -178,7 +178,8 @@ testit "wbinfo --uid-info against $TARGET" $wbinfo --uid-info $admin_uid
 # this does not work
 knownfail "wbinfo --group-info against $TARGET" $wbinfo --group-info "S-1-22-2-0"
 knownfail "wbinfo --gid-info against $TARGET" $wbinfo --gid-info 30001
-knownfail "wbinfo -r against $TARGET" $wbinfo -r "$DOMAIN/$USERNAME"
+
+testit "wbinfo -r against $TARGET" $wbinfo -r "$DOMAIN/$USERNAME" || failed=`expr $failed + 1`
 
 testit "wbinfo --user-domgroups against $TARGET" $wbinfo --user-domgroups $admin_sid || failed=`expr $failed + 1`
 
-- 
1.6.3.3


--------------070804020605060400060206
Content-Type: text/x-patch;
 name="0002-s4-winbind-Implement-logic-for-getgroups-to-work.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0002-s4-winbind-Implement-logic-for-getgroups-to-work.patch"



More information about the samba-technical mailing list