lshw/tests/selftest/PURPOSE

27 lines
586 B
Plaintext
Raw Permalink Normal View History

Purpose of /CoreOS/lshw/sanity/check-output
Perform basic validation of text based output of the lshw tool
-version
-- log the output of 'lshw -version'
-help
-- log the output of 'lshw -help'
default options
-- log the output of 'lshw' with no options
-html
-- log the output of 'lshw -html' and validate using 'xmllint --html'
-xml
-- log the output of 'lshw -xml' and validate using 'xmllint --xml'
-dump
-- log the output of 'lshw -dump' and validate using sqlite
-sanitize
-- log the output of 'lshw -sanitize' and validate by searching for 'serial: [REMOVED]'