smbd: Remove get_Protocol()
[Samba.git] / testprogs / blackbox / nsstest.sh
blob6bf67059e440a3df50b7af3087b349be572ccfe2
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>
6 if [ $# -lt 2 ]; then
7 cat <<EOF
8 Usage: nsstest.sh NSSTEST LIBNSS_WINBIND
9 EOF
10 exit 1
13 nsstest=$1
14 libnss_winbind=$2
15 shift 2
16 failed=0
18 . $(dirname $0)/subunit.sh
20 testit "run nsstest" $VALGRIND $nsstest $libnss_winbind || failed=$(expr $failed + 1)
22 exit $failed