Skip to content

Commit 7d6dec5

Browse files
authored
Update HdmiCecSink_L2Test.cpp
1 parent 2c17c6d commit 7d6dec5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Tests/L2Tests/tests/HdmiCecSink_L2Test.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,12 @@ HdmiCecSink_L2Test::HdmiCecSink_L2Test()
474474

475475
status = ActivateService("org.rdk.HdmiCecSink");
476476
EXPECT_EQ(Core::ERROR_NONE, status);
477+
478+
struct stat buffer;
479+
bool fileExists = (stat("/tmp/pwrmgr_restarted", &buffer) == 0);
480+
printf("[TEST DEBUG] %s: /tmp/pwrmgr_restarted exists = %s\n",
481+
(this->GetParam() ? "Standby fixture" : "Main fixture"),
482+
fileExists ? "YES" : "NO");
477483
}
478484

479485
HdmiCecSink_L2Test::~HdmiCecSink_L2Test()
@@ -670,6 +676,12 @@ HdmiCecSink_L2Test_STANDBY::HdmiCecSink_L2Test_STANDBY()
670676

671677
status = ActivateService("org.rdk.HdmiCecSink");
672678
EXPECT_EQ(Core::ERROR_NONE, status);
679+
680+
struct stat buffer;
681+
bool fileExists = (stat("/tmp/pwrmgr_restarted", &buffer) == 0);
682+
printf("[TEST DEBUG] %s: /tmp/pwrmgr_restarted exists = %s\n",
683+
(this->GetParam() ? "Standby fixture" : "Main fixture"),
684+
fileExists ? "YES" : "NO");
673685
}
674686

675687
HdmiCecSink_L2Test_STANDBY::~HdmiCecSink_L2Test_STANDBY()

0 commit comments

Comments
 (0)