t/fiotestlib: improve JSON decoding
authorVincent Fu <vincent.fu@samsung.com>
Tue, 4 Feb 2025 19:52:28 +0000 (19:52 +0000)
committerVincent Fu <vincentfu@gmail.com>
Thu, 6 Mar 2025 18:58:43 +0000 (13:58 -0500)
commit8bff30f806fcfa2583e8677c4c5ca557e2453877
tree751e5c4450f50941ebe30cde55e41834d4f61f2d
parente9709f4e853097eb9829aac075e123a90fb2e82c
t/fiotestlib: improve JSON decoding

Sometimes error/informational messages appear at the end of the JSON
data. Try to parse as JSON only the text between the first { and the
last }.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
t/fiotestlib.py