Test: Fix testToPath breakage
Vicki Pfau vi@endrift.com
Tue, 28 Jul 2020 16:14:15 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/platform/test/cinema-main.c
→
src/platform/test/cinema-main.c
@@ -270,6 +270,10 @@ path[i] = testName[0];
++i; } } + if (i == PATH_MAX) { + --i; + } + path[i] = '\0'; } static void _loadConfigTree(struct Table* configTree, const char* testName) {