1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

ctdb-tests: Drop residual CTDB_MANAGED_<service> variables

These no longer do anything.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke
2018-07-07 20:16:42 +10:00
committed by Amitay Isaacs
parent e081cafc9c
commit 451c6b668f
17 changed files with 1 additions and 71 deletions

View File

@ -7,7 +7,6 @@ define_test "Managed, clamd not listening"
setup
setup_script_options <<EOF
CTDB_MANAGES_CLAMD=yes
CTDB_CLAMD_SOCKET="/var/run/clamd.sock"
EOF

View File

@ -7,7 +7,6 @@ define_test "Managed, clamd listening"
setup
setup_script_options <<EOF
CTDB_MANAGES_CLAMD=yes
CTDB_CLAMD_SOCKET="/var/run/clamd.sock"
EOF

View File

@ -6,10 +6,6 @@ define_test "managed, down - once, twice"
setup "down"
setup_script_options <<EOF
CTDB_MANAGES_VSFTPD="yes"
EOF
ok <<EOF
vsftpd not listening on TCP port 21
WARNING: vsftpd not listening but less than 2 consecutive failures, not unhealthy yet

View File

@ -6,10 +6,6 @@ define_test "managed"
setup "up"
setup_script_options <<EOF
CTDB_MANAGES_VSFTPD="yes"
EOF
ok <<EOF
Stopping vsftpd: OK
EOF

View File

@ -6,10 +6,6 @@ define_test "managed"
setup "down"
setup_script_options <<EOF
CTDB_MANAGES_VSFTPD="yes"
EOF
ok <<EOF
Starting vsftpd: OK
EOF

View File

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

View File

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

View File

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

View File

@ -6,10 +6,6 @@ define_test "managed"
setup "up"
setup_script_options <<EOF
CTDB_MANAGES_WINBIND="yes"
EOF
ok <<EOF
Stopping winbind: OK
EOF

View File

@ -6,10 +6,6 @@ define_test "managed"
setup "down"
setup_script_options <<EOF
CTDB_MANAGES_WINBIND="yes"
EOF
ok <<EOF
Starting winbind: OK
EOF

View File

@ -1,6 +1,4 @@
setup ()
{
setup_script_options "service" "60.nfs" <<EOF
CTDB_MANAGES_NFS="yes"
EOF
:
}

View File

@ -1,9 +1,7 @@
setup ()
{
setup_script_options <<EOF
CTDB_MANAGES_CLAMD="yes"
CTDB_CLAMD_SOCKET="/var/run/clamd.sock"
EOF
setup_unix_listen

View File

@ -9,8 +9,4 @@ setup ()
else
service "$_service_name" force-stopped
fi
setup_script_options <<EOF
CTDB_MANAGES_VSFTPD=""
EOF
}

View File

@ -11,8 +11,4 @@ setup ()
service "$_service_name" force-stopped
done
fi
setup_script_options <<EOF
CTDB_MANAGES_HTTPD=""
EOF
}

View File

@ -8,10 +8,6 @@ setup ()
service "winbind" force-started
setup_script_options <<EOF
CTDB_MANAGES_WINBIND="yes"
EOF
export FAKE_WBINFO_FAIL="no"
else
@ -19,10 +15,6 @@ EOF
service "winbind" force-stopped
setup_script_options <<EOF
CTDB_MANAGES_WINBIND=""
EOF
export FAKE_WBINFO_FAIL="yes"
fi
}

View File

@ -11,10 +11,6 @@ setup ()
service "$i" force-started
done
setup_script_options <<EOF
CTDB_MANAGES_SAMBA="yes"
EOF
setup_tcp_listen 445 139
# Some things in 50.samba are backgrounded and waited
@ -29,10 +25,6 @@ EOF
service "$i" force-stopped
done
setup_script_options <<EOF
CTDB_MANAGES_SAMBA=""
EOF
setup_tcp_listen
fi

View File

@ -23,10 +23,6 @@ EOF
service "nfs" force-started
service "nfslock" force-started
setup_script_options <<EOF
CTDB_MANAGES_NFS="yes"
EOF
rpc_services_up \
"portmapper" "nfs" "mountd" "rquotad" \
"nlockmgr" "status"
@ -40,10 +36,6 @@ EOF
service "nfs" force-stopped
service "nfslock" force-stopped
setup_script_options <<EOF
CTDB_MANAGES_NFS=""
EOF
fi
# This is really nasty. However, when we test NFS we don't