vfs_default: implement FSCTL_DUP_EXTENTS_TO_FILE with copy_reflink()
[samba4-gss.git] / nsswitch / tests / test_wbinfo_simple.sh
blob226715a7ff8ac94c5d6cc021e581b98440e13182
1 #!/bin/sh
3 if [ $# -lt 1 ]; then
4 cat <<EOF
5 Usage: test_wbinfo_simple.sh <wbinfo args>
6 EOF
7 exit 1
8 fi
10 ADDARGS="$*"
12 incdir=$(dirname $0)/../../testprogs/blackbox
13 . $incdir/subunit.sh
15 KRB5CCNAME_PATH="$PREFIX/test_wbinfo_simple_krb5ccname"
16 rm -f $KRB5CCNAME_PATH
18 KRB5CCNAME="FILE:$KRB5CCNAME_PATH"
19 export KRB5CCNAME
21 testit "wbinfo" $VALGRIND $BINDIR/wbinfo --krb5ccname="$KRB5CCNAME" $ADDARGS || failed=$(expr $failed + 1)
23 rm -f $KRB5CCNAME_PATH
25 testok $0 $failed