Change default time mode/owner to MANUAL/BOTH
OPAL gets error on setting host time because the default time mode/owner
is NTP/BMC, which disallows host to set its time.
As discussed and requested by OPAL, change the default time mode/owner
to MANUAL/BOTH.
Change-Id: Ide55f970b66f3025f67ad2ef093a74a3c8f8b8ea
Signed-off-by: Lei YU <mine260309@gmail.com>
diff --git a/test/TestHostEpoch.cpp b/test/TestHostEpoch.cpp
index 13d604d..0e59745 100644
--- a/test/TestHostEpoch.cpp
+++ b/test/TestHostEpoch.cpp
@@ -137,8 +137,9 @@
TEST_F(TestHostEpoch, empty)
{
- EXPECT_EQ(Mode::NTP, getTimeMode());
- EXPECT_EQ(Owner::BMC, getTimeOwner());
+ // Default mode/owner is MANUAL/BOTH
+ EXPECT_EQ(Mode::MANUAL, getTimeMode());
+ EXPECT_EQ(Owner::BOTH, getTimeOwner());
}
TEST_F(TestHostEpoch, readDataFileNotExist)