diff --git a/test_suite/test_cases/admin/switch2primary_force/data_dev_mounted.conf b/test_suite/test_cases/admin/switch2primary_force/data_dev_mounted.conf new file mode 100644 index 00000000..840786d0 --- /dev/null +++ b/test_suite/test_cases/admin/switch2primary_force/data_dev_mounted.conf @@ -0,0 +1,21 @@ +#!/bin/bash +# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG +# +# Email: frank.liepold@1und1.de +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +##################################################################### +switch2primary_data_dev_mounted=1 diff --git a/test_suite/test_cases/admin/switch2primary_force/data_dev_not_mounted.conf b/test_suite/test_cases/admin/switch2primary_force/data_dev_not_mounted.conf new file mode 100644 index 00000000..44ae11a5 --- /dev/null +++ b/test_suite/test_cases/admin/switch2primary_force/data_dev_not_mounted.conf @@ -0,0 +1,21 @@ +#!/bin/bash +# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG +# +# Email: frank.liepold@1und1.de +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +##################################################################### +switch2primary_data_dev_mounted=0 diff --git a/test_suite/test_cases/admin/switch2primary_force/hardcore_method.conf b/test_suite/test_cases/admin/switch2primary_force/hardcore_method.conf new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_prim_becomes_prim.conf b/test_suite/test_cases/admin/switch2primary_force/orig_prim_becomes_prim.conf new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive.conf b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive.conf new file mode 100644 index 00000000..0b3eb22f --- /dev/null +++ b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive.conf @@ -0,0 +1,23 @@ +#!/bin/bash +# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG +# +# Email: frank.liepold@1und1.de +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +##################################################################### +switch2primary_orig_primary_alive=1 + + diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/orig_prim_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/orig_prim_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/orig_prim_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/orig_prim_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/secondary_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/secondary_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/secondary_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_mounted/secondary_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/orig_prim_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/orig_prim_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/orig_prim_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/orig_prim_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/secondary_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/secondary_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/secondary_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_alive/data_dev_not_mounted/secondary_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/orig_prim_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/orig_prim_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/orig_prim_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/orig_prim_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/secondary_becomes_prim/hardcore_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/secondary_becomes_prim/hardcore_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/secondary_becomes_prim/usual_method/empty b/test_suite/test_cases/admin/switch2primary_force/orig_primary_dead/secondary_becomes_prim/usual_method/empty new file mode 100644 index 00000000..e69de29b diff --git a/test_suite/test_cases/admin/switch2primary_force/secondary_becomes_prim.conf b/test_suite/test_cases/admin/switch2primary_force/secondary_becomes_prim.conf new file mode 100644 index 00000000..d4f7b3bd --- /dev/null +++ b/test_suite/test_cases/admin/switch2primary_force/secondary_becomes_prim.conf @@ -0,0 +1,23 @@ +#!/bin/bash +# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG +# +# Email: frank.liepold@1und1.de +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +##################################################################### +switch2primary_orig_prim_equal_new_prim=0 + + diff --git a/test_suite/test_cases/admin/switch2primary_force/usual_method.conf b/test_suite/test_cases/admin/switch2primary_force/usual_method.conf new file mode 100644 index 00000000..ee58c887 --- /dev/null +++ b/test_suite/test_cases/admin/switch2primary_force/usual_method.conf @@ -0,0 +1,23 @@ +#!/bin/bash +# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG +# +# Email: frank.liepold@1und1.de +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +##################################################################### +switch2primary_activate_secondary_hardcore=0 + +