Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/tests/version_strings.cc')
-rw-r--r--core/src/tests/version_strings.cc17
1 files changed, 6 insertions, 11 deletions
diff --git a/core/src/tests/version_strings.cc b/core/src/tests/version_strings.cc
index 43a30be95..981b557c0 100644
--- a/core/src/tests/version_strings.cc
+++ b/core/src/tests/version_strings.cc
@@ -1,7 +1,7 @@
/*
BAREOSĀ® - Backup Archiving REcovery Open Sourced
- Copyright (C) 2019-2019 Bareos GmbH & Co. KG
+ Copyright (C) 2019-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
@@ -18,20 +18,15 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
*/
-#include <algorithm>
-#include <vector>
-
-#if defined(HAVE_MINGW)
-# include "include/bareos.h"
-# include "gtest/gtest.h"
-#else
-# include "gtest/gtest.h"
-# include "include/bareos.h"
-#endif
+#include "include/bareos.h"
+#include "gtest/gtest.h"
#include "lib/version.h"
+#include <algorithm>
+#include <vector>
+
TEST(version_strings, version)
{
std::string ver_full{kBareosVersionStrings.Full};