[LTP] [PATCH 0/2] Two more metadata parser fixes

Cyril Hrubis chrubis@suse.cz
Fri Jun 20 17:43:44 CEST 2025


This series fixes a metadata parser for the ".filesystems" entry of the
tst_test structure. First patch fixes the data storage to JSON
serialization and second patch changes the parser to convert structure
intialization with only designated initializers into a hash (object)
rather than an arrray.

@Andrea I suppose that the documentation generator needs a fix after
        this is applied.

Cyril Hrubis (2):
  metadata: data_storage: Fix hash to json object serialization
  metaparse: Map arrays with designated initializers to JSON objects

 metadata/data_storage.h |  28 +++++++--
 metadata/metaparse.c    | 134 +++++++++++++++++++++++++++++++++-------
 2 files changed, 135 insertions(+), 27 deletions(-)

-- 
2.49.0



More information about the ltp mailing list