File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff 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
479485HdmiCecSink_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
675687HdmiCecSink_L2Test_STANDBY::~HdmiCecSink_L2Test_STANDBY ()
You can’t perform that action at this time.
0 commit comments