s3:registry: add an extra check for dsize==0 to regdb_fetch_keys_internal()
[Samba/fernandojvsilva.git] / source4 / selftest / tests_win.sh
blob19460eee0ed092a5c735eff98c246362f2d27e30
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