From 0174b589cd982de4fe08036f1bdfbe5043929aaf Mon Sep 17 00:00:00 2001 From: huangwenbin Date: Fri, 11 Sep 2026 14:09:08 +0800 Subject: [PATCH] tests: skip argv[0] in run-parser input processing run-parser initialized the first input index to 0, causing argv[0] (the executable itself) to be treated as a YAML input file when no options were provided. Start processing input files at argv[1] instead. Signed-off-by: huangwenbin --- tests/run-parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-parser.c b/tests/run-parser.c index 9e382504..81bce6f3 100644 --- a/tests/run-parser.c +++ b/tests/run-parser.c @@ -12,7 +12,7 @@ int main(int argc, char *argv[]) { int number; - int start = 0; + int start = 1; int i = 0; char *filename; char *output;