diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-12 01:36:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:00 -0500 |
commit | 3a3947cd861ffaa08fb68ced510af1f55230defd (patch) | |
tree | 9f9be95fc12560855bcd4949c8b44f59e94e4954 /source4/script/tests/selftest.sh | |
parent | 82da98a1da265438778d38dbafe4aaebbc27dd0d (diff) | |
download | samba-3a3947cd861ffaa08fb68ced510af1f55230defd.tar.gz samba-3a3947cd861ffaa08fb68ced510af1f55230defd.tar.xz samba-3a3947cd861ffaa08fb68ced510af1f55230defd.zip |
r7495: used --maximum-runtime=300 for each smbtorture call, to prevent it
running too long
(This used to be commit 3d70755abfb7764379d648e9bc1697ae9289d02b)
Diffstat (limited to 'source4/script/tests/selftest.sh')
-rwxr-xr-x | source4/script/tests/selftest.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index ac3fd71f94..4f3233a917 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -68,6 +68,11 @@ fi smbd_check_or_start +# ensure any one smbtorture call doesn't run too long +TORTURE_OPTIONS="--maximum-runtime=300" +export TORTURE_OPTIONS + + START=`date` ( # give time for nbt server to register its names |