1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-06 23:16:26 +02:00

Move Perl help test to real module.

This commit is contained in:
David Steele 2018-01-23 12:58:35 -05:00
parent 3dd882a79e
commit 404ec30d03
4 changed files with 10 additions and 17 deletions

View File

@ -400,20 +400,6 @@ my $oTestDef =
}, },
] ]
}, },
# Help tests
{
&TESTDEF_NAME => 'help',
&TESTDEF_CONTAINER => true,
&TESTDEF_EXPECT => true,
&TESTDEF_TEST =>
[
{
&TESTDEF_NAME => 'help',
&TESTDEF_TOTAL => 1,
}
]
},
# Config tests # Config tests
{ {
&TESTDEF_NAME => 'config', &TESTDEF_NAME => 'config',
@ -837,12 +823,18 @@ my $oTestDef =
{ {
&TESTDEF_NAME => 'real', &TESTDEF_NAME => 'real',
&TESTDEF_EXPECT => true, &TESTDEF_EXPECT => true,
&TESTDEF_INDIVIDUAL => true,
&TESTDEF_TEST => &TESTDEF_TEST =>
[ [
{
&TESTDEF_NAME => 'help',
&TESTDEF_CONTAINER => true,
&TESTDEF_TOTAL => 1,
},
{ {
&TESTDEF_NAME => 'all', &TESTDEF_NAME => 'all',
&TESTDEF_INDIVIDUAL => true,
&TESTDEF_TOTAL => 6, &TESTDEF_TOTAL => 6,
&TESTDEF_DB => true, &TESTDEF_DB => true,
} }

View File

@ -1,7 +1,7 @@
#################################################################################################################################### ####################################################################################################################################
# HelpHelpTest.pm - Tests for help command # Tests for help command
#################################################################################################################################### ####################################################################################################################################
package pgBackRestTest::Module::Help::HelpHelpTest; package pgBackRestTest::Module::Real::RealHelpTest;
use parent 'pgBackRestTest::Common::RunTest'; use parent 'pgBackRestTest::Common::RunTest';
#################################################################################################################################### ####################################################################################################################################

View File

@ -340,6 +340,7 @@ eval
if ($oStorageTest->exists($strVBoxService)) if ($oStorageTest->exists($strVBoxService))
{ {
executeTest("sudo killall VBoxService");
executeTest("sudo ${strVBoxService} --timesync-set-start"); executeTest("sudo ${strVBoxService} --timesync-set-start");
} }