summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-03-09 15:35:54 +0300
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-09 17:20:31 +0100
commit98bc10d0a8284387789fafc32a1a1e54a7e31824 (patch)
treefbd287c9ef06c4cb5b2ad09c8a7d00b640b792c6 /nsswitch
parentbc766a9a8475344eb4556da91f68874523d1fe52 (diff)
downloadsamba-98bc10d0a8284387789fafc32a1a1e54a7e31824.tar.gz
samba-98bc10d0a8284387789fafc32a1a1e54a7e31824.tar.bz2
samba-98bc10d0a8284387789fafc32a1a1e54a7e31824.zip
s4:unittest Fix unittest to reflect that wbinfo -r no longer fail
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_wbinfo.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/nsswitch/tests/test_wbinfo.sh b/nsswitch/tests/test_wbinfo.sh
index 8d8f116e70..b92b8f026d 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`