mirror of
https://github.com/samba-team/samba.git
synced 2025-05-31 05:05:53 +03:00
- 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)
23 lines
453 B
Bash
Executable File
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
|