summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/s3store/tests3store.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/s3store/tests3store.cpp b/test/s3store/tests3store.cpp
index dad4289c..aa596af4 100644
--- a/test/s3store/tests3store.cpp
+++ b/test/s3store/tests3store.cpp
@@ -16,6 +16,7 @@
#include "BackupAccountControl.h"
#include "BackupClientCryptoKeys.h"
#include "BackupDaemonConfigVerify.h"
+#include "BackupStoreDirectory.h"
#include "BackupStoreInfo.h"
#include "Configuration.h"
#include "RaidFileController.h"
@@ -95,6 +96,10 @@ bool test_create_account_with_account_control()
TEST_EQUAL(0, info->GetClientStoreMarker());
TEST_EQUAL("test", info->GetAccountName());
+ FileStream root_stream("testfiles/store/subdir/dirs/0x1.dir");
+ BackupStoreDirectory root_dir(root_stream);
+ TEST_EQUAL(0, root_dir.GetNumberOfEntries());
+
TEARDOWN_TEST_S3SIMULATOR();
}