test_wbinfo.c - count more possible failures
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 17:13:13 +0000 (19:13 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 11 Sep 2010 17:13:13 +0000 (19:13 +0200)
nsswitch/tests/test_wbinfo.sh

index b92b8f026d07ac606afcc70ebfa79666fffe7942..952dd132652c7b777905f3b0d0167e169bd7dc1c 100755 (executable)
@@ -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"