commit | 88d7eee00b7c5b5a08f5a78c58026a24932ec483 | [log] [tgz] |
---|---|---|
author | gabor-mezei-arm <gabor.mezei@arm.com> | Wed Apr 22 11:07:34 2020 +0200 |
committer | gabor-mezei-arm <gabor.mezei@arm.com> | Wed Apr 22 11:07:34 2020 +0200 |
tree | b269c91314e3ab00e2130e50b43e6d2ddbd5fea3 | |
parent | e50c6edeee68a627e8288fddc53b2da30e295856 [diff] [blame] |
Check for empty string in outcome file name Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
diff --git a/tests/suites/host_test.function b/tests/suites/host_test.function index 9dde6c2..db65c0f 100644 --- a/tests/suites/host_test.function +++ b/tests/suites/host_test.function
@@ -551,7 +551,7 @@ return( 1 ); } - if( outcome_file_name != NULL ) + if( outcome_file_name != NULL && *outcome_file_name != '\0' ) { outcome_file = fopen( outcome_file_name, "a" ); if( outcome_file == NULL )