bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] runtest --xml doesn't escape C0 control codes in XML outpu


From: Andrey ``Bass'' Shcheglov
Subject: [Bug-dejagnu] runtest --xml doesn't escape C0 control codes in XML output
Date: Fri, 18 Aug 2017 18:00:41 +0300
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49

Hello,

Whenever there're C0 control codes
<https://en.wikipedia.org/wiki/C0_and_C1_control_codes#C0_.28ASCII_and_derivatives.29>
in the output of any of the tests, "runtest --xml" doesn't properly
escape those, producing XML which is not well-formed, e.g.:

>   <test>
>     <input></input>
>     <output>��query</output>
>     <result>PASS</result>
>     <name>gdb.base/annota-input-while-running.exp: delete
> breakpoints</name>
>     <prms_id>0</prms_id>
>   </test>
>   <test>
>     <input></input>
>     <output>��query</output>
>     <result>PASS</result>
>     <name>gdb.base/annota-input-while-running.exp: break after
> sleep</name>
>     <prms_id>0</prms_id>
>   </test>
See also the corresponding issue reported for TeamCity Autotools plug-in
<https://github.com/unix-junkie/teamcity-autotools-plugin/issues/12>.

DejaGnu versions 1.5+ are affected.

Regards,
Andrey.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]