<div dir="ltr">Great, thanks Dengke!<div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 August 2016 at 09:53, <a href="mailto:dengke.du@windriver.com">dengke.du@windriver.com</a> <span dir="ltr">&lt;<a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi ross<br>
    <br>
    After querying for the current maintainer of bash Chet Ramey, he
    said the devel <br>
    branch of bash have fixed it. So I will import those patchs later
    for the bash tests<br>
    suite.<br>
    <br>
    We can check the patchs at:<br>
    <br>
        
<a href="http://git.savannah.gnu.org/cgit/bash.git/commit/tests/intl.right?h=devel&amp;id=85ec0778f9d778e1820fb8c0e3e996f2d1103b45" target="_blank">http://git.savannah.gnu.org/<wbr>cgit/bash.git/commit/tests/<wbr>intl.right?h=devel&amp;id=<wbr>85ec0778f9d778e1820fb8c0e3e996<wbr>f2d1103b45</a><br>
        
<a href="http://git.savannah.gnu.org/cgit/bash.git/diff/tests/intl.right?h=devel&amp;id=74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3" target="_blank">http://git.savannah.gnu.org/<wbr>cgit/bash.git/diff/tests/intl.<wbr>right?h=devel&amp;id=<wbr>74b8cbb41398b4453d8ba04d0cdd1b<wbr>25f9dcb9e3</a><br>
    <br>
    //dengke<br>
    <div><br>
      <br>
      -------- Forwarded Message --------
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">Subject:
            </th>
            <td>Re: bash: remove the format string &quot;%q&quot; in the
              unicode3.sub</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">Date: </th>
            <td>Tue, 9 Aug 2016 10:39:13 -0400</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">From: </th>
            <td>Chet Ramey <a href="mailto:chet.ramey@case.edu" target="_blank">&lt;chet.ramey@case.edu&gt;</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">Reply-To:
            </th>
            <td><a href="mailto:chet.ramey@case.edu" target="_blank">chet.ramey@case.edu</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">To: </th>
            <td><a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a> <a href="mailto:dengke.du@windriver.com" target="_blank">&lt;dengke.du@windriver.com&gt;</a>,
              <a href="mailto:bug-bash@gnu.org" target="_blank">bug-bash@gnu.org</a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">CC: </th>
            <td><a href="mailto:chet.ramey@case.edu" target="_blank">chet.ramey@case.edu</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>On 8/9/16 3:18 AM, <a href="mailto:dengke.du@windriver.com" target="_blank">dengke.du@windriver.com</a> wrote:
&gt; Hi all
&gt; 
&gt; When I run the tests for the bash, the sub-test unicode3.sub of intl.tests
&gt; failed.
&gt; 
&gt; The sub-test unicode3.sub contain the following:
&gt; 
&gt;     payload=$&#39;\065\247\100\063\<wbr>231\053\306\123\070\237\242\<wbr>352\263&#39;
&gt;     &quot;$payload&quot;
&gt;     printf %q &quot;$payload&quot;
&gt; 
&gt; In this situation, the format string &quot;%q&quot; in command printf means that when the
&gt; character in the payload is not in {alpha &amp; digit &amp; punctuation &amp; ISO
&gt; 646(7-bit)}, it
&gt; would print the string with ANSI-C style quoted string: $&#39;...&#39; , we can
&gt; check the source code

This has already been changed in the devel branch (back in May, 2015), and
the test case and tets output was changed at the same time.

-- 
``The lyf so short, the craft so long to lerne.&#39;&#39; - Chaucer
                 ``Ars longa, vita brevis&#39;&#39; - Hippocrates
Chet Ramey, UTech, CWRU    <a href="mailto:chet@case.edu" target="_blank">chet@case.edu</a>    <a href="http://cnswww.cns.cwru.edu/~chet/" target="_blank">http://cnswww.cns.cwru.edu/~<wbr>chet/</a>
</pre>
      <br>
    </div>
    <br>
  </div>

</blockquote></div><br></div>