libcli/smb: pass smbXcli_tcon to smb2cli_read*()
[Samba/gebeck_regimport.git] / testprogs / blackbox / nsstest.sh
blobbbca904620a85aa664e2ce50e68beca71e64c1ae
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