diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-09 15:11:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-09 15:11:49 +0100 |
commit | aac27905de964f0f91f6a9366f596b1197d574ff (patch) | |
tree | 9936d6bf55482403ed0386969108fc39c6faefe7 /test/functional/tests.sh | |
parent | a88cb1b54f6ec99886e9a6a4e54124150f7bfff6 (diff) | |
download | rspamd-aac27905de964f0f91f6a9366f596b1197d574ff.tar.gz rspamd-aac27905de964f0f91f6a9366f596b1197d574ff.zip |
Use standard functions definitions.
Diffstat (limited to 'test/functional/tests.sh')
-rw-r--r-- | test/functional/tests.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/functional/tests.sh b/test/functional/tests.sh index d6eb612a6..245ac7dd7 100644 --- a/test/functional/tests.sh +++ b/test/functional/tests.sh @@ -11,13 +11,11 @@ SKIPPED_TESTS=0 . ${TEST_DIRNAME}/functions.sh -function make_tempdir() -{ +make_tempdir() { export TMPDIR=`mktemp -d /tmp/rspamd-test-XXXXXX` } -function run_test() -{ +run_test() { TEST_NAME=`basename $1 | sed -e 's/.sh$//'` TEST_DESCRIPTION=`head -1 $1 | sed -e 's/^# *//'` |