summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-11 19:13:13 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-11 19:13:13 +0200
commit8a0db43ad8d84c195fd6cd716ec92f9b47ab4649 (patch)
tree8bde98da35018264c210c64e682b7858cd4cecbd /nsswitch
parent1ddd63bddb902c82d52c1516b2649c610ae87db4 (diff)
downloadsamba-8a0db43ad8d84c195fd6cd716ec92f9b47ab4649.tar.gz
samba-8a0db43ad8d84c195fd6cd716ec92f9b47ab4649.tar.bz2
samba-8a0db43ad8d84c195fd6cd716ec92f9b47ab4649.zip
test_wbinfo.c - count more possible failures
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 b92b8f026d..952dd13265 100755
--- a/nsswitch/tests/test_wbinfo.sh
+++ b/nsswitch/tests/test_wbinfo.sh
@@ -163,6 +163,7 @@ if test x$own_domain = x$DOMAIN; then
else
echo "Own domain reported as $own_domain instead of $DOMAIN"
echo "failure: wbinfo --own-domain against $TARGET check output"
+ failed=`expr $failed + 1`
fi
# this does not work
@@ -173,7 +174,7 @@ testit "wbinfo -D against $TARGET" $wbinfo -D $DOMAIN || failed=`expr $failed +
testit "wbinfo -i against $TARGET" $wbinfo -i "$DOMAIN/$USERNAME" || failed=`expr $failed + 1`
-testit "wbinfo --uid-info against $TARGET" $wbinfo --uid-info $admin_uid
+testit "wbinfo --uid-info against $TARGET" $wbinfo --uid-info $admin_uid || failed=`expr $failed + 1`
# this does not work
knownfail "wbinfo --group-info against $TARGET" $wbinfo --group-info "S-1-22-2-0"