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 50.samba tests
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
ecda38c894
commit
96ed6c34ba
@ -6,7 +6,9 @@ define_test "non-existent share - not checked"
|
||||
|
||||
setup
|
||||
|
||||
setup_script_options <<EOF
|
||||
CTDB_SAMBA_SKIP_SHARE_CHECK="yes"
|
||||
EOF
|
||||
|
||||
ok_null
|
||||
|
||||
|
@ -11,7 +11,9 @@ setup ()
|
||||
service "$i" force-started
|
||||
done
|
||||
|
||||
export CTDB_MANAGES_SAMBA="yes"
|
||||
setup_script_options <<EOF
|
||||
CTDB_MANAGES_SAMBA="yes"
|
||||
EOF
|
||||
|
||||
setup_tcp_listen 445 139
|
||||
|
||||
@ -27,12 +29,16 @@ setup ()
|
||||
service "$i" force-stopped
|
||||
done
|
||||
|
||||
export CTDB_MANAGES_SAMBA=""
|
||||
setup_script_options <<EOF
|
||||
CTDB_MANAGES_SAMBA=""
|
||||
EOF
|
||||
|
||||
setup_tcp_listen
|
||||
fi
|
||||
|
||||
export CTDB_SAMBA_SKIP_SHARE_CHECK="no"
|
||||
setup_script_options <<EOF
|
||||
CTDB_SAMBA_SKIP_SHARE_CHECK="no"
|
||||
EOF
|
||||
|
||||
setup_shares
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user