pgbackrest.git / summary / log / commit / refs

commit    c8dfc673b87bc04f87e7e3c01f5e227a71f415d8
Author:   David Steele <david@pgmasters.net>
Date:     Wed Jan 04 23:31:16 2017 +0000

    Moved tests into new modules to better reflect actual usage.


archive-get-001.log} | 0 archive-get-002.log} | 0 archive-get-003.log} | 0 archive-get-004.log} | 0 archive-get-005.log} | 0 archive-get-006.log} | 0 archive-get-007.log} | 0 archive-get-008.log} | 0 archive-push-001.log} | 0 archive-push-002.log} | 0 archive-push-003.log} | 0 archive-push-004.log} | 0 archive-push-005.log} | 0 archive-push-006.log} | 0 archive-push-007.log} | 0 archive-push-008.log} | 0 archive-stop-001.log} | 0 archive-stop-002.log} | 0 archive-stop-003.log} | 0 archive-stop-004.log} | 0 archive-stop-005.log} | 0 archive-stop-006.log} | 0 expire-expire-001.log} | 0 full-real-001.log} | 0 full-real-002.log} | 0 full-real-003.log} | 0 full-real-004.log} | 0 full-real-005.log} | 0 full-real-006.log} | 0 full-real-007.log} | 0 full-real-008.log} | 0 full-real-009.log} | 0 full-real-010.log} | 0 full-real-011.log} | 0 full-synthetic-001.log} | 0 full-synthetic-002.log} | 0 full-synthetic-003.log} | 0 full-synthetic-004.log} | 0 full-synthetic-005.log} | 0 full-synthetic-006.log} | 0 full-synthetic-007.log} | 0 full-synthetic-008.log} | 0 stanza-create-001.log} | 0 stanza-create-002.log} | 0 .../ArchiveGetTest.pm} | 8 +-- .../ArchivePushTest.pm} | 8 +-- .../ArchiveStopTest.pm} | 8 +-- test/lib/pgBackRestTest/Backup/BackupUnitTest.pm | 2 +- test/lib/pgBackRestTest/Common/DefineTest.pm | 69 +++++++++++++++++----- Expire}/ExpireCommonTest.pm | 2 +- .../ExpireExpireTest.pm} | 12 ++-- Full/FullCommonTest.pm} | 4 +- Full/FullRealTest.pm} | 9 ++- .../FullSyntheticTest.pm} | 9 ++- .../StanzaCreateTest.pm} | 9 ++- 55 files changed, 88 insertions(+), 52 deletions(-) diff --git a/test/expect/backup-archive-get-001.log b/test/expect/archive-get-001.log similarity index 100% rename from test/expect/backup-archive-get-001.log rename to test/expect/archive-get-001.log diff --git a/test/expect/backup-archive-get-002.log b/test/expect/archive-get-002.log similarity index 100% rename from test/expect/backup-archive-get-002.log rename to test/expect/archive-get-002.log diff --git a/test/expect/backup-archive-get-003.log b/test/expect/archive-get-003.log similarity index 100% rename from test/expect/backup-archive-get-003.log rename to test/expect/archive-get-003.log diff --git a/test/expect/backup-archive-get-004.log b/test/expect/archive-get-004.log similarity index 100% rename from test/expect/backup-archive-get-004.log rename to test/expect/archive-get-004.log diff --git a/test/expect/backup-archive-get-005.log b/test/expect/archive-get-005.log similarity index 100% rename from test/expect/backup-archive-get-005.log rename to test/expect/archive-get-005.log diff --git a/test/expect/backup-archive-get-006.log b/test/expect/archive-get-006.log similarity index 100% rename from test/expect/backup-archive-get-006.log rename to test/expect/archive-get-006.log diff --git a/test/expect/backup-archive-get-007.log b/test/expect/archive-get-007.log similarity index 100% rename from test/expect/backup-archive-get-007.log rename to test/expect/archive-get-007.log diff --git a/test/expect/backup-archive-get-008.log b/test/expect/archive-get-008.log similarity index 100% rename from test/expect/backup-archive-get-008.log rename to test/expect/archive-get-008.log diff --git a/test/expect/backup-archive-push-001.log b/test/expect/archive-push-001.log similarity index 100% rename from test/expect/backup-archive-push-001.log rename to test/expect/archive-push-001.log diff --git a/test/expect/backup-archive-push-002.log b/test/expect/archive-push-002.log similarity index 100% rename from test/expect/backup-archive-push-002.log rename to test/expect/archive-push-002.log diff --git a/test/expect/backup-archive-push-003.log b/test/expect/archive-push-003.log similarity index 100% rename from test/expect/backup-archive-push-003.log rename to test/expect/archive-push-003.log diff --git a/test/expect/backup-archive-push-004.log b/test/expect/archive-push-004.log similarity index 100% rename from test/expect/backup-archive-push-004.log rename to test/expect/archive-push-004.log diff --git a/test/expect/backup-archive-push-005.log b/test/expect/archive-push-005.log similarity index 100% rename from test/expect/backup-archive-push-005.log rename to test/expect/archive-push-005.log diff --git a/test/expect/backup-archive-push-006.log b/test/expect/archive-push-006.log similarity index 100% rename from test/expect/backup-archive-push-006.log rename to test/expect/archive-push-006.log diff --git a/test/expect/backup-archive-push-007.log b/test/expect/archive-push-007.log similarity index 100% rename from test/expect/backup-archive-push-007.log rename to test/expect/archive-push-007.log diff --git a/test/expect/backup-archive-push-008.log b/test/expect/archive-push-008.log similarity index 100% rename from test/expect/backup-archive-push-008.log rename to test/expect/archive-push-008.log diff --git a/test/expect/backup-archive-stop-001.log b/test/expect/archive-stop-001.log similarity index 100% rename from test/expect/backup-archive-stop-001.log rename to test/expect/archive-stop-001.log diff --git a/test/expect/backup-archive-stop-002.log b/test/expect/archive-stop-002.log similarity index 100% rename from test/expect/backup-archive-stop-002.log rename to test/expect/archive-stop-002.log diff --git a/test/expect/backup-archive-stop-003.log b/test/expect/archive-stop-003.log similarity index 100% rename from test/expect/backup-archive-stop-003.log rename to test/expect/archive-stop-003.log diff --git a/test/expect/backup-archive-stop-004.log b/test/expect/archive-stop-004.log similarity index 100% rename from test/expect/backup-archive-stop-004.log rename to test/expect/archive-stop-004.log diff --git a/test/expect/backup-archive-stop-005.log b/test/expect/archive-stop-005.log similarity index 100% rename from test/expect/backup-archive-stop-005.log rename to test/expect/archive-stop-005.log diff --git a/test/expect/backup-archive-stop-006.log b/test/expect/archive-stop-006.log similarity index 100% rename from test/expect/backup-archive-stop-006.log rename to test/expect/archive-stop-006.log diff --git a/test/expect/backup-expire-001.log b/test/expect/expire-expire-001.log similarity index 100% rename from test/expect/backup-expire-001.log rename to test/expect/expire-expire-001.log diff --git a/test/expect/backup-full-001.log b/test/expect/full-real-001.log similarity index 100% rename from test/expect/backup-full-001.log rename to test/expect/full-real-001.log diff --git a/test/expect/backup-full-002.log b/test/expect/full-real-002.log similarity index 100% rename from test/expect/backup-full-002.log rename to test/expect/full-real-002.log diff --git a/test/expect/backup-full-003.log b/test/expect/full-real-003.log similarity index 100% rename from test/expect/backup-full-003.log rename to test/expect/full-real-003.log diff --git a/test/expect/backup-full-004.log b/test/expect/full-real-004.log similarity index 100% rename from test/expect/backup-full-004.log rename to test/expect/full-real-004.log diff --git a/test/expect/backup-full-005.log b/test/expect/full-real-005.log similarity index 100% rename from test/expect/backup-full-005.log rename to test/expect/full-real-005.log diff --git a/test/expect/backup-full-006.log b/test/expect/full-real-006.log similarity index 100% rename from test/expect/backup-full-006.log rename to test/expect/full-real-006.log diff --git a/test/expect/backup-full-007.log b/test/expect/full-real-007.log similarity index 100% rename from test/expect/backup-full-007.log rename to test/expect/full-real-007.log diff --git a/test/expect/backup-full-008.log b/test/expect/full-real-008.log similarity index 100% rename from test/expect/backup-full-008.log rename to test/expect/full-real-008.log diff --git a/test/expect/backup-full-009.log b/test/expect/full-real-009.log similarity index 100% rename from test/expect/backup-full-009.log rename to test/expect/full-real-009.log diff --git a/test/expect/backup-full-010.log b/test/expect/full-real-010.log similarity index 100% rename from test/expect/backup-full-010.log rename to test/expect/full-real-010.log diff --git a/test/expect/backup-full-011.log b/test/expect/full-real-011.log similarity index 100% rename from test/expect/backup-full-011.log rename to test/expect/full-real-011.log diff --git a/test/expect/backup-synthetic-001.log b/test/expect/full-synthetic-001.log similarity index 100% rename from test/expect/backup-synthetic-001.log rename to test/expect/full-synthetic-001.log diff --git a/test/expect/backup-synthetic-002.log b/test/expect/full-synthetic-002.log similarity index 100% rename from test/expect/backup-synthetic-002.log rename to test/expect/full-synthetic-002.log diff --git a/test/expect/backup-synthetic-003.log b/test/expect/full-synthetic-003.log similarity index 100% rename from test/expect/backup-synthetic-003.log rename to test/expect/full-synthetic-003.log diff --git a/test/expect/backup-synthetic-004.log b/test/expect/full-synthetic-004.log similarity index 100% rename from test/expect/backup-synthetic-004.log rename to test/expect/full-synthetic-004.log diff --git a/test/expect/backup-synthetic-005.log b/test/expect/full-synthetic-005.log similarity index 100% rename from test/expect/backup-synthetic-005.log rename to test/expect/full-synthetic-005.log diff --git a/test/expect/backup-synthetic-006.log b/test/expect/full-synthetic-006.log similarity index 100% rename from test/expect/backup-synthetic-006.log rename to test/expect/full-synthetic-006.log diff --git a/test/expect/backup-synthetic-007.log b/test/expect/full-synthetic-007.log similarity index 100% rename from test/expect/backup-synthetic-007.log rename to test/expect/full-synthetic-007.log diff --git a/test/expect/backup-synthetic-008.log b/test/expect/full-synthetic-008.log similarity index 100% rename from test/expect/backup-synthetic-008.log rename to test/expect/full-synthetic-008.log diff --git a/test/expect/backup-stanza-create-001.log b/test/expect/stanza-create-001.log similarity index 100% rename from test/expect/backup-stanza-create-001.log rename to test/expect/stanza-create-001.log diff --git a/test/expect/backup-stanza-create-002.log b/test/expect/stanza-create-002.log similarity index 100% rename from test/expect/backup-stanza-create-002.log rename to test/expect/stanza-create-002.log diff --git a/test/lib/pgBackRestTest/Backup/BackupArchiveGetTest.pm b/test/lib/pgBackRestTest/Archive/ArchiveGetTest.pm similarity index 96% rename from test/lib/pgBackRestTest/Backup/BackupArchiveGetTest.pm rename to test/lib/pgBackRestTest/Archive/ArchiveGetTest.pm index 816c0e72b..ca6f92495 100644 --- a/test/lib/pgBackRestTest/Backup/BackupArchiveGetTest.pm +++ b/test/lib/pgBackRestTest/Archive/ArchiveGetTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupArchiveGetTest.pm - Tests for archive-get command +# ArchiveGetTest.pm - Tests for archive-get command #################################################################################################################################### -package pgBackRestTest::Backup::BackupArchiveGetTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Archive::ArchiveGetTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -27,7 +27,7 @@ use pgBackRest::Manifest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; +use pgBackRestTest::Full::FullCommonTest; #################################################################################################################################### # run diff --git a/test/lib/pgBackRestTest/Backup/BackupArchivePushTest.pm b/test/lib/pgBackRestTest/Archive/ArchivePushTest.pm similarity index 98% rename from test/lib/pgBackRestTest/Backup/BackupArchivePushTest.pm rename to test/lib/pgBackRestTest/Archive/ArchivePushTest.pm index f6ba797a3..02244a355 100644 --- a/test/lib/pgBackRestTest/Backup/BackupArchivePushTest.pm +++ b/test/lib/pgBackRestTest/Archive/ArchivePushTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupArchivePushTest.pm - Tests for archive-push command +# ArchivePushTest.pm - Tests for archive-push command #################################################################################################################################### -package pgBackRestTest::Backup::BackupArchivePushTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Archive::ArchivePushTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -27,7 +27,7 @@ use pgBackRest::Manifest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; +use pgBackRestTest::Full::FullCommonTest; #################################################################################################################################### # archiveCheck diff --git a/test/lib/pgBackRestTest/Backup/BackupArchiveStopTest.pm b/test/lib/pgBackRestTest/Archive/ArchiveStopTest.pm similarity index 94% rename from test/lib/pgBackRestTest/Backup/BackupArchiveStopTest.pm rename to test/lib/pgBackRestTest/Archive/ArchiveStopTest.pm index 1c0aa0ce3..4ac29788e 100644 --- a/test/lib/pgBackRestTest/Backup/BackupArchiveStopTest.pm +++ b/test/lib/pgBackRestTest/Archive/ArchiveStopTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupArchiveStopTest.pm - Tests for archive-push command to make sure aync queue limits are implemented correctly +# ArchiveStopTest.pm - Tests for archive-push command to make sure aync queue limits are implemented correctly #################################################################################################################################### -package pgBackRestTest::Backup::BackupArchiveStopTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Archive::ArchiveStopTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -27,7 +27,7 @@ use pgBackRest::Manifest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; +use pgBackRestTest::Full::FullCommonTest; #################################################################################################################################### # run diff --git a/test/lib/pgBackRestTest/Backup/BackupUnitTest.pm b/test/lib/pgBackRestTest/Backup/BackupUnitTest.pm index abe252ec5..36b9796d0 100644 --- a/test/lib/pgBackRestTest/Backup/BackupUnitTest.pm +++ b/test/lib/pgBackRestTest/Backup/BackupUnitTest.pm @@ -2,7 +2,7 @@ # BackupUnitTest.pm - Tests for Backup module #################################################################################################################################### package pgBackRestTest::Backup::BackupUnitTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes diff --git a/test/lib/pgBackRestTest/Common/DefineTest.pm b/test/lib/pgBackRestTest/Common/DefineTest.pm index 765860a5c..52abb297d 100644 --- a/test/lib/pgBackRestTest/Common/DefineTest.pm +++ b/test/lib/pgBackRestTest/Common/DefineTest.pm @@ -145,53 +145,92 @@ my $oTestDef = } ] }, - # Backup tests + # Stanza tests { - &TESTDEF_MODULE_NAME => 'backup', + &TESTDEF_MODULE_NAME => 'stanza', &TESTDEF_TEST_CONTAINER => false, &TESTDEF_EXPECT => true, &TESTDEF_TEST => [ { - &TESTDEF_TEST_NAME => 'unit', - &TESTDEF_TEST_TOTAL => 1, - &TESTDEF_TEST_INDIVIDUAL => false, - &TESTDEF_EXPECT => false, + &TESTDEF_TEST_NAME => 'create', + &TESTDEF_TEST_TOTAL => 2 }, + ] + }, + # Archive tests + { + &TESTDEF_MODULE_NAME => 'archive', + &TESTDEF_TEST_CONTAINER => false, + &TESTDEF_EXPECT => true, + + &TESTDEF_TEST => + [ { - &TESTDEF_TEST_NAME => 'archive-push', + &TESTDEF_TEST_NAME => 'push', &TESTDEF_TEST_TOTAL => 8 }, { - &TESTDEF_TEST_NAME => 'archive-stop', + &TESTDEF_TEST_NAME => 'stop', &TESTDEF_TEST_TOTAL => 6 }, { - &TESTDEF_TEST_NAME => 'archive-get', + &TESTDEF_TEST_NAME => 'get', &TESTDEF_TEST_TOTAL => 8 }, + ] + }, + # Backup tests + { + &TESTDEF_MODULE_NAME => 'backup', + &TESTDEF_TEST_CONTAINER => false, + &TESTDEF_EXPECT => false, + + &TESTDEF_TEST => + [ { - &TESTDEF_TEST_NAME => 'expire', - &TESTDEF_TEST_TOTAL => 1 + &TESTDEF_TEST_NAME => 'unit', + &TESTDEF_TEST_TOTAL => 1, + &TESTDEF_TEST_INDIVIDUAL => false, }, + ] + }, + # Expire tests + { + &TESTDEF_MODULE_NAME => 'expire', + &TESTDEF_TEST_CONTAINER => false, + &TESTDEF_EXPECT => true, + + &TESTDEF_TEST => + [ { - &TESTDEF_TEST_NAME => 'stanza-create', - &TESTDEF_TEST_TOTAL => 2 + &TESTDEF_TEST_NAME => 'expire', + &TESTDEF_TEST_TOTAL => 1 }, + ] + }, + # Full tests + { + &TESTDEF_MODULE_NAME => 'full', + &TESTDEF_TEST_CONTAINER => false, + &TESTDEF_EXPECT => true, + + &TESTDEF_TEST => + [ { &TESTDEF_TEST_NAME => 'synthetic', &TESTDEF_TEST_TOTAL => 8, &TESTDEF_TEST_PROCESS => true }, { - &TESTDEF_TEST_NAME => 'full', + &TESTDEF_TEST_NAME => 'real', &TESTDEF_TEST_TOTAL => 11, &TESTDEF_TEST_PROCESS => true, &TESTDEF_TEST_DB => true } ] - } + }, ] }; diff --git a/test/lib/pgBackRestTest/Backup/ExpireCommonTest.pm b/test/lib/pgBackRestTest/Expire/ExpireCommonTest.pm similarity index 99% rename from test/lib/pgBackRestTest/Backup/ExpireCommonTest.pm rename to test/lib/pgBackRestTest/Expire/ExpireCommonTest.pm index c7e0b79ab..457ee8b39 100644 --- a/test/lib/pgBackRestTest/Backup/ExpireCommonTest.pm +++ b/test/lib/pgBackRestTest/Expire/ExpireCommonTest.pm @@ -1,7 +1,7 @@ #################################################################################################################################### # ExpireCommonTest.pm - Common code for expire tests #################################################################################################################################### -package pgBackRestTest::Backup::ExpireCommonTest; +package pgBackRestTest::Expire::ExpireCommonTest; use parent 'pgBackRestTest::Common::RunTest'; #################################################################################################################################### diff --git a/test/lib/pgBackRestTest/Backup/BackupExpireTest.pm b/test/lib/pgBackRestTest/Expire/ExpireExpireTest.pm similarity index 96% rename from test/lib/pgBackRestTest/Backup/BackupExpireTest.pm rename to test/lib/pgBackRestTest/Expire/ExpireExpireTest.pm index aa5df75cf..d99f855b5 100644 --- a/test/lib/pgBackRestTest/Backup/BackupExpireTest.pm +++ b/test/lib/pgBackRestTest/Expire/ExpireExpireTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupExpireTest.pm - Tests for expire command +# ExpireExpireTest.pm - Tests for expire command #################################################################################################################################### -package pgBackRestTest::Backup::BackupExpireTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Expire::ExpireExpireTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -27,8 +27,8 @@ use pgBackRest::Manifest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; -use pgBackRestTest::Backup::ExpireCommonTest; +use pgBackRestTest::Full::FullCommonTest; +use pgBackRestTest::Expire::ExpireCommonTest; #################################################################################################################################### # run @@ -43,7 +43,7 @@ sub run my ($oHostDbMaster, $oHostDbStandby, $oHostBackup, $oFile) = $self->setup(true, $self->expect()); # Create the test object - my $oExpireTest = new pgBackRestTest::Backup::ExpireCommonTest($oHostBackup, $self->backrestExe(), $oFile, $self->expect()); + my $oExpireTest = new pgBackRestTest::Expire::ExpireCommonTest($oHostBackup, $self->backrestExe(), $oFile, $self->expect()); # ??? This function creates data elements in the $oExpireTest object that are used by the $oExpireTest functions. But # should probably change to use the stanza-create command especially with stanza-upgrade. diff --git a/test/lib/pgBackRestTest/Backup/BackupCommonTest.pm b/test/lib/pgBackRestTest/Full/FullCommonTest.pm similarity index 98% rename from test/lib/pgBackRestTest/Backup/BackupCommonTest.pm rename to test/lib/pgBackRestTest/Full/FullCommonTest.pm index 48e455735..62c956e06 100644 --- a/test/lib/pgBackRestTest/Backup/BackupCommonTest.pm +++ b/test/lib/pgBackRestTest/Full/FullCommonTest.pm @@ -1,7 +1,7 @@ #################################################################################################################################### -# BackupCommonTest.pm - Common code for backup tests +# FullCommonTest.pm - Common code for backup tests #################################################################################################################################### -package pgBackRestTest::Backup::BackupCommonTest; +package pgBackRestTest::Full::FullCommonTest; use parent 'pgBackRestTest::Common::RunTest'; #################################################################################################################################### diff --git a/test/lib/pgBackRestTest/Backup/BackupFullTest.pm b/test/lib/pgBackRestTest/Full/FullRealTest.pm similarity index 99% rename from test/lib/pgBackRestTest/Backup/BackupFullTest.pm rename to test/lib/pgBackRestTest/Full/FullRealTest.pm index eb96e947c..f6b13ae5b 100644 --- a/test/lib/pgBackRestTest/Backup/BackupFullTest.pm +++ b/test/lib/pgBackRestTest/Full/FullRealTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupFullTest.pm - Tests for all commands against a real database +# FullRealTest.pm - Tests for all commands against a real database #################################################################################################################################### -package pgBackRestTest::Backup::BackupFullTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Full::FullRealTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -31,11 +31,10 @@ use pgBackRestTest::Common::ContainerTest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::FileTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; +use pgBackRestTest::Full::FullCommonTest; use pgBackRestTest::Common::Host::HostBaseTest; use pgBackRestTest::Common::Host::HostBackupTest; use pgBackRestTest::Common::Host::HostDbTest; -use pgBackRestTest::Backup::ExpireCommonTest; #################################################################################################################################### # run diff --git a/test/lib/pgBackRestTest/Backup/BackupSyntheticTest.pm b/test/lib/pgBackRestTest/Full/FullSyntheticTest.pm similarity index 99% rename from test/lib/pgBackRestTest/Backup/BackupSyntheticTest.pm rename to test/lib/pgBackRestTest/Full/FullSyntheticTest.pm index 9315b1ce2..4c6241aa5 100644 --- a/test/lib/pgBackRestTest/Backup/BackupSyntheticTest.pm +++ b/test/lib/pgBackRestTest/Full/FullSyntheticTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupSyntheticTest.pm - Tests for all commands that can be run against synthetic data +# FullSyntheticTest.pm - Tests for all commands that can be run against synthetic data #################################################################################################################################### -package pgBackRestTest::Backup::BackupSyntheticTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Full::FullSyntheticTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -30,9 +30,8 @@ use pgBackRestTest::Common::ContainerTest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::FileTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; +use pgBackRestTest::Full::FullCommonTest; use pgBackRestTest::Common::Host::HostBackupTest; -use pgBackRestTest::Backup::ExpireCommonTest; #################################################################################################################################### # run diff --git a/test/lib/pgBackRestTest/Backup/BackupStanzaCreateTest.pm b/test/lib/pgBackRestTest/Stanza/StanzaCreateTest.pm similarity index 97% rename from test/lib/pgBackRestTest/Backup/BackupStanzaCreateTest.pm rename to test/lib/pgBackRestTest/Stanza/StanzaCreateTest.pm index e7e016f49..35b2e5ccd 100644 --- a/test/lib/pgBackRestTest/Backup/BackupStanzaCreateTest.pm +++ b/test/lib/pgBackRestTest/Stanza/StanzaCreateTest.pm @@ -1,8 +1,8 @@ #################################################################################################################################### -# BackupStanzaCreateTest.pm - Tests for stanza-create command +# StanzaCreateTest.pm - Tests for stanza-create command #################################################################################################################################### -package pgBackRestTest::Backup::BackupStanzaCreateTest; -use parent 'pgBackRestTest::Backup::BackupCommonTest'; +package pgBackRestTest::Stanza::StanzaCreateTest; +use parent 'pgBackRestTest::Full::FullCommonTest'; #################################################################################################################################### # Perl includes @@ -27,8 +27,7 @@ use pgBackRest::Manifest; use pgBackRestTest::Common::ExecuteTest; use pgBackRestTest::Common::RunTest; -use pgBackRestTest::Backup::BackupCommonTest; -use pgBackRestTest::Backup::ExpireCommonTest; +use pgBackRestTest::Full::FullCommonTest; #################################################################################################################################### # run [parent: e3d63c0252bf]