1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-tests: Use setup_script_options() in 41.httpd tests

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2018-03-22 07:19:14 +11:00 committed by Amitay Isaacs
parent 17b8f12d1c
commit 3944fc4ae3
4 changed files with 9 additions and 1 deletions

View File

@ -6,7 +6,9 @@ define_test "managed, down - 5 times"
setup "down"
setup_script_options <<EOF
CTDB_MANAGES_HTTPD="yes"
EOF
ok_null
simple_test

View File

@ -6,7 +6,9 @@ define_test "managed"
setup "up"
setup_script_options <<EOF
CTDB_MANAGES_HTTPD="yes"
EOF
ok <<EOF
Stopping httpd: OK

View File

@ -6,7 +6,9 @@ define_test "managed"
setup "down"
setup_script_options <<EOF
CTDB_MANAGES_HTTPD="yes"
EOF
ok <<EOF
Starting httpd: OK

View File

@ -12,5 +12,7 @@ setup ()
done
fi
export CTDB_MANAGES_HTTPD=""
setup_script_options <<EOF
CTDB_MANAGES_HTTPD=""
EOF
}