intel / luv-yocto

Linux UEFI Validation Distribution
Other
113 stars 75 forks source link

Results are overwritten by horizontal line in luv.html file #118

Closed prakhya closed 6 years ago

prakhya commented 7 years ago

On some specific machines; when LUV runs, the results in luv.html are overwritten by horizontal lines (as shown in the attachment). This happens because, chipsec dumps hex data and that data; when converted to ASCII, represents (<s), which means a horizontal line and hence the html file has horizontal lines overwriting results. When this specific character (<s) is replaced by something else, the results are normal (as shown in the attachment). One probable fix to this issue is to search chipsec hex dump for this character and escape it. overwritten_results normal_results

meghadey commented 6 years ago

use sed to escape the '<' sign in the chipsec output while running the parser.

meghadey commented 6 years ago

Patch which fixes this issue can be found here: https://lists.01.org/pipermail/luv/2018-January/002425.html