s3: smbd: Move check_fsp_open() and check_fsp() to smb1_reply.c
[Samba.git] / source4 / selftest / tests_win.sh
blobfafaef1f5a55b65f778d8a47fb7544563a7b0fee
1 #!/bin/sh
3 if [ $(whoami) != "root" ]; then
4 echo "Windows tests will not run without root privileges."
5 exit 1
6 fi
8 if [ "$DO_SOCKET_WRAPPER" = SOCKET_WRAPPER ]; then
9 echo "Windows tests will not run with socket wrapper enabled."
10 exit 1
13 if [ ! $WINTESTCONF ]; then
14 echo "Environment variable WINTESTCONF has not been defined."
15 echo "Windows tests will not run unconfigured."
16 exit 1
19 if [ ! -r $WINTESTCONF ]; then
20 echo "$WINTESTCONF could not be read."
21 exit 1
24 export WINTEST_DIR=$SRCDIR/selftest/win
25 export TMPDIR=$TMPDIR
26 export NETBIOSNAME=$NETBIOSNAME
28 . $WINTESTCONF
30 $SRCDIR/selftest/test_win.sh