File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,13 @@ TEST_F(PKeyUtlTest, VerifyTest) {
112
112
ASSERT_TRUE (result);
113
113
114
114
// Check that the output contains "Signature Verified Successfully"
115
- fprintf (stderr, " DEBUG: About to read output file\n " );
115
+ fprintf (stderr, " DEBUG: About to open output file with ScopedFILE first\n " );
116
+ {
117
+ ScopedFILE out_file (fopen (out_path, " rb" ));
118
+ ASSERT_TRUE (out_file);
119
+ // Just opening and closing the file
120
+ }
121
+ fprintf (stderr, " DEBUG: Now reading with ReadFileToString\n " );
116
122
std::string output = ReadFileToString (out_path);
117
123
fprintf (stderr, " DEBUG: Output file content length: %zu\n " , output.length ());
118
124
ASSERT_NE (output.find (" Signature Verified Successfully" ), std::string::npos);
You can’t perform that action at this time.
0 commit comments