mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
e338b4b47b
- Don't set up environments until necessary - Add --resetup-environment option - Add 'none' environment (This used to be commit ed0410309bfdefb0d31cb247c26b947956fb1137)
23 lines
536 B
Bash
Executable File
23 lines
536 B
Bash
Executable File
#!/bin/sh
|
|
|
|
local_tests=`bin/smbtorture --list | grep "^LOCAL-" | xargs`
|
|
|
|
if [ `uname` = "Linux" ]; then
|
|
# testing against the system iconv only makes sense for our 'reference' iconv
|
|
# behaviour
|
|
local_tests="$local_tests LOCAL-ICONV"
|
|
fi
|
|
|
|
incdir=`dirname $0`
|
|
. $incdir/test_functions.sh
|
|
|
|
# the local tests don't need smbd
|
|
SMBD_TEST_FIFO=""
|
|
export SMBD_TEST_FIFO
|
|
|
|
for t in $local_tests; do
|
|
plantest "$t" none $VALGRIND bin/smbtorture $TORTURE_OPTIONS ncalrpc: $t "$*"
|
|
done
|
|
|
|
plantest "tdb stress" none $VALGRIND bin/tdbtorture
|