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/TestManager.cpp b/test/TestManager.cpp
index f05b863..5c9c8c3 100644
--- a/test/TestManager.cpp
+++ b/test/TestManager.cpp
@@ -67,8 +67,10 @@
EXPECT_FALSE(hostOn());
EXPECT_EQ("", getRequestedMode());
EXPECT_EQ("", getRequestedOwner());
- 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());
}