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:
parent
17b8f12d1c
commit
3944fc4ae3
@ -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
|
||||
|
@ -6,7 +6,9 @@ define_test "managed"
|
||||
|
||||
setup "up"
|
||||
|
||||
setup_script_options <<EOF
|
||||
CTDB_MANAGES_HTTPD="yes"
|
||||
EOF
|
||||
|
||||
ok <<EOF
|
||||
Stopping httpd: OK
|
||||
|
@ -6,7 +6,9 @@ define_test "managed"
|
||||
|
||||
setup "down"
|
||||
|
||||
setup_script_options <<EOF
|
||||
CTDB_MANAGES_HTTPD="yes"
|
||||
EOF
|
||||
|
||||
ok <<EOF
|
||||
Starting httpd: OK
|
||||
|
@ -12,5 +12,7 @@ setup ()
|
||||
done
|
||||
fi
|
||||
|
||||
export CTDB_MANAGES_HTTPD=""
|
||||
setup_script_options <<EOF
|
||||
CTDB_MANAGES_HTTPD=""
|
||||
EOF
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user