1
0
mirror of https://github.com/samba-team/samba.git synced 2025-05-31 05:05:53 +03:00
samba-mirror/source4/script/tests/tests_win2k3_dc.sh
Jelmer Vernooij 2fca3f9082 r21909: Merge some of my recent improvements to the test infrastructure:
- Allow tests to specify what environment they need to run in (dc and none are thecurrent supported ones).

- Move more Samba4-specific code out of the common code
(This used to be commit dbe9de10287c902f4a5ea5d431dea4a79f9b170b)
2007-10-10 14:49:37 -05:00

23 lines
453 B
Bash
Executable File

#!/bin/sh
if [ ! $WINTESTCONF ]; then
echo "Environment variable WINTESTCONF has not been defined."
echo "Windows tests will not run unconfigured."
exit 1
fi
if [ ! -r $WINTESTCONF ]; then
echo "$WINTESTCONF could not be read."
exit 1
fi
. script/tests/test_functions.sh
export SRCDIR=$SRCDIR
tests="RPC-DRSUAPI RPC-SPOOLSS ncacn_np ncacn_ip_tcp"
for name in $tests; do
testit $name rpc $SRCDIR/script/tests/win/wintest_2k3_dc.sh $name
done