HomeFreeBSD

ZTS: zfs_program_json

Description

ZTS: zfs_program_json

As of Python 3.5 the default behavior of json.tool was changed to
preserve the input order rather than lexical order. The test case
expects the output to be sorted so apply the --sort-keys option
to the json.tool command when using Python 3.5 and the option is
supported.

    https://docs.python.org/3/library/json.html#module-json.tool

Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9774

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Dec 27 2019, 8:12 PM
GitHub <noreply@github.com>Committed on Dec 27 2019, 8:12 PM
Parents
rG590ff61a5520: ZTS: devices_001_pos and devices_002_neg
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGa6f6ef8bda9d: ZTS: zfs_program_json (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Dec 27 2019, 8:12 PM