[LTP] [PATCH 1/9] metaparse: Print parsing file on verbose
Petr Vorel
petr.vorel@gmail.com
Thu Jan 4 22:16:46 CET 2024
From: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
metadata/metaparse.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/metadata/metaparse.c b/metadata/metaparse.c
index 2384c73c8..fe6d68911 100644
--- a/metadata/metaparse.c
+++ b/metadata/metaparse.c
@@ -862,6 +862,9 @@ int main(int argc, char *argv[])
return 1;
}
+ if (verbose)
+ fprintf(stderr, "\n=== %s ===\n", argv[optind]);
+
res = parse_file(argv[optind]);
if (!res)
return 0;
--
2.43.0
More information about the ltp
mailing list