s4-selftest re-enable nsstest on libnss_winbind.so
[samba.git] / testprogs / blackbox / nsstest.sh
1 #!/bin/sh
2 # Blackbox wrapper for nsstest
3 # Copyright (C) 2006-2007 Jelmer Vernooij <jelmer@samba.org>
4 # Copyright (C) 2006-2008 Andrew Bartlett <abartlet@samba.org>
5
6 if [ $# -lt 2 ]; then
7 cat <<EOF
8 Usage: nsstest.sh NSSTEST LIBNSS_WINBIND
9 EOF
10 exit 1;
11 fi
12
13 nsstest=$1
14 libnss_winbind=$2
15 shift 2
16 failed=0
17
18 . `dirname $0`/subunit.sh
19
20 testit "run nsstest" $VALGRIND $nsstest $libnss_winbind || failed=`expr $failed + 1`
21
22 exit $failed