Message ID | 167884160721.2482843.18113696253114083867.stgit@magnolia (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: improve junit xml reporting | expand |
diff --git a/common/report b/common/report index 2ab83928db..946ee4887c 100644 --- a/common/report +++ b/common/report @@ -33,7 +33,10 @@ _xunit_add_property() test -z "$value" && return - echo -e "\t\t<property name=\"$name\" value=\"$value\"/>" + local xname="$(echo "$name" | encode_xml)" + local xvalue="$(echo "$value" | encode_xml)" + + echo -e "\t\t<property name=\"$xname\" value=\"$xvalue\"/>" } _xunit_make_section_report()