[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linaro-cross-distro
Subject:    Re: [klibc] [PATCH 0/1] Porting klibc to arm64
From:       Anil Singhar <anil.singhar () linaro ! org>
Date:       2013-10-16 7:52:00
Message-ID: CAMECM2LnnJ=nQTFmQjErrb2yo_BnqmhSj8+pf9g598EN6qLytg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Thorsten,

The 'lstat' issue is fixed now and with this fix, only 3 tests fail on mksh
all of which are ignored as below.
......
pass ./check.t:history-subst-4
pass ./check.t:history-subst-5
FAIL ./check.t:history-ed-1 (ignored)
        Description:
                Basic (ed) editing works (assumes you have generic ed editor
                that prints no prompts). This is for newish ed(1) and
stderr.
        unexpected exit status 32512 (exit-code 127), expected 0
        unexpected stdout - got too little output
        wanted:
                abc def
                FOOBAR def
        got:
                abc def
        unexpected stderr - wanted pattern:
                /^X*13\n16\necho FOOBAR def\nX*$/
        got:
                XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[3]: s/abc/FOOBAR/: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[4]: w: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[5]: q: not found
                X
        [incomplete last line]
FAIL ./check.t:history-ed-2 (ignored)
        Description:
                Correct command is edited when number given
        unexpected exit status 32512 (exit-code 127), expected 0
        unexpected stdout - got too little output
        wanted:
                line 1
                line 2 is here
                line 3
                line 4
                line 2 is changed
        got:
                line 1
                line 2 is here
                line 3
                line 4
        unexpected stderr - wanted pattern:
                /^X*20\n23\necho line 2 is changed\nX*$/
        got:
                XXXXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[6]: s/is: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[7]: w: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[8]: q: not found
                X
        [incomplete last line]
FAIL ./check.t:history-ed-3 (ignored)
        Description:
                Newly created multi line commands show up as single command
                in history.
        unexpected stdout - first difference: line 2, char 1 (wanted 'F',
got 'a'
        wanted:
                abc def
                FOOBAR def
                a new line
                1       echo abc def
                2       echo FOOBAR def
                3       echo a new line
        got:
                abc def
                a new line
                1       echo abc def
                2       fc echo
                3       s/abc/FOOBAR/
                4       $a
                5       echo a new line
                6       .
                7       w
                8       q
        unexpected stderr - wanted pattern:
                /^X*13\n32\necho FOOBAR def\necho a new line\nX*$/
        got:
                XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
/bin/ed: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[3]: s/abc/FOOBAR/: not found
                XXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[6]: .: missing argument
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[7]: w: not found
                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh:
<stdin>[8]: q: not found
                XX
        [incomplete last line]
pass ./check.t:IFS-space-1
. . .
pass ./check.t:debian-117-4
pass ./check.t:case-zsh
pass ./check.t:case-braces
pass ./check.t:command-shift
pass ./check.t:duffs-device
Total failed: 3 (3 ignored)
Total passed: 433

Thanks and Regards,
Anil



On 10 October 2013 01:45, Thorsten Glaser <tg@mirbsd.de> wrote:

> Neil Williams dixit:
>
> >The only failure which did not have an (ignored) tag was:
> >
> >FAIL ./check.t:glob-bad-2
>
> Hrm okay. This may indicate that lstat(2) is broken, or it
> may just be a problem with the test environment (this test
> is disabled on some architectures as it relies on a dangling
> symlink to be tested for being not dereferenced).
>
> What does lstat("foo") report for 'ln -s nonexistent foo'?
>
> bye,
> //mirabilos
> --
>   "Using Lynx is like wearing a really good pair of shades: cuts out
>    the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
>                                          -- Henry Nelson, March 1999
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi Thorsten, <br><br></div>The &#39;lstat&#39; issue is \
fixed now and with this fix, only 3 tests fail on mksh all of which are ignored as \
below.<br></div><div>......<br>pass ./check.t:history-subst-4<br> pass \
./check.t:history-subst-5<br>FAIL ./check.t:history-ed-1 (ignored)<br>        \
Description:<br>                Basic (ed) editing works (assumes you have generic ed \
editor<br>                that prints no prompts). This is for newish ed(1) and \
stderr.<br>  unexpected exit status 32512 (exit-code 127), expected 0<br>        \
unexpected stdout - got too little output<br>        wanted:<br>                abc \
def<br>                FOOBAR def<br>        got:<br>                abc def<br>  \
unexpected stderr - wanted pattern:<br>                /^X*13\n16\necho FOOBAR \
def\nX*$/<br>        got:<br>                \
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found<br>         \
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[3]: \
s/abc/FOOBAR/: not found<br>  X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: \
&lt;stdin&gt;[4]: w: not found<br>                \
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[5]: q: not \
found<br>                X<br>  [incomplete last line]<br>FAIL ./check.t:history-ed-2 \
(ignored)<br>        Description:<br>                Correct command is edited when \
number given<br>        unexpected exit status 32512 (exit-code 127), expected 0<br>  \
unexpected stdout - got too little output<br>        wanted:<br>                line \
1<br>                line 2 is here<br>                line 3<br>                line \
4<br>                line 2 is changed<br>  got:<br>                line 1<br>        \
line 2 is here<br>                line 3<br>                line 4<br>        \
unexpected stderr - wanted pattern:<br>                /^X*20\n23\necho line 2 is \
changed\nX*$/<br>  got:<br>                \
XXXXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found<br>      \
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[6]: s/is: not \
found<br>                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: \
&lt;stdin&gt;[7]: w: not found<br>  \
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[8]: q: not \
found<br>                X<br>        [incomplete last line]<br>FAIL \
./check.t:history-ed-3 (ignored)<br>        Description:<br>  Newly created multi \
line commands show up as single command<br>                in history.<br>        \
unexpected stdout - first difference: line 2, char 1 (wanted &#39;F&#39;, got \
&#39;a&#39;<br>        wanted:<br>  abc def<br>                FOOBAR def<br>         \
a new line<br>                1       echo abc def<br>                2       echo \
FOOBAR def<br>                3       echo a new line<br>        got:<br>  abc \
def<br>                a new line<br>                1       echo abc def<br>         \
2       fc echo<br>                3       s/abc/FOOBAR/<br>                4       \
$a<br>                5       echo a new line<br>  6       .<br>                7     \
w<br>                8       q<br>        unexpected stderr - wanted pattern:<br>     \
/^X*13\n32\necho FOOBAR def\necho a new line\nX*$/<br>        got:<br>                \
XX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: /bin/ed: not found<br>  \
X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[3]: \
s/abc/FOOBAR/: not found<br>                \
XXX/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[6]: .: missing \
argument<br>  X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: &lt;stdin&gt;[7]: \
w: not found<br>                X/home/root/anilss/pkgs/klibc/native_arm64/mksh/mksh: \
&lt;stdin&gt;[8]: q: not found<br>                XX<br>  [incomplete last \
line]<br>pass ./check.t:IFS-space-1<br>. . .<br>pass ./check.t:debian-117-4<br>pass \
./check.t:case-zsh<br>pass ./check.t:case-braces<br>pass \
./check.t:command-shift<br>pass ./check.t:duffs-device<br> Total failed: 3 (3 \
ignored)<br>Total passed: 433<br><br></div><div>Thanks and \
Regards,<br></div><div>Anil<br></div><div><br></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On 10 October 2013 01:45, \
Thorsten Glaser <span dir="ltr">&lt;<a href="mailto:tg@mirbsd.de" \
target="_blank">tg@mirbsd.de</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Neil Williams dixit:<br> <div class="im"><br>
&gt;The only failure which did not have an (ignored) tag was:<br>
&gt;<br>
&gt;FAIL ./check.t:glob-bad-2<br>
<br>
</div>Hrm okay. This may indicate that lstat(2) is broken, or it<br>
may just be a problem with the test environment (this test<br>
is disabled on some architectures as it relies on a dangling<br>
symlink to be tested for being not dereferenced).<br>
<br>
What does lstat(&quot;foo&quot;) report for &#39;ln -s nonexistent foo&#39;?<br>
<br>
bye,<br>
//mirabilos<br>
<span class="HOEnZb"><font color="#888888">--<br>
  &quot;Using Lynx is like wearing a really good pair of shades: cuts out<br>
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL.&quot;<br>
                                         -- Henry Nelson, March 1999<br>
</font></span></blockquote></div><br></div>



_______________________________________________
cross-distro mailing list
cross-distro@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/cross-distro


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic