mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Output generated using libutil's util_fmt_*() functions contains meta-data such as hostname and time of invocation. When writing test cases that compare expected and actual tool output, this run-time variable information needs to be filtered out, resulting in increased complexity. To address this, add a global option to suppress meta-data output via environment variable FMT_NOMETA. If set to '1', no meta-data will be generated. Example: $ FMT_NOMETA=1 chpstat --format json Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
16 KiB
16 KiB