<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 16, 2022 at 6:42 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 12/16/22 13:10, enh wrote:<br>
> looks like there's a realpath failure (but no change to any of the other tests):<br>
> <br>
> -- realpath<br>
> PASS: realpath -s link/..<br>
> PASS: realpath -s .. eats symlink<br>
> FAIL: realpath -s .. eats symlink in $PWD<br>
> echo -ne '' | cd dos && realpath -s ..<br>
> --- expected 2022-12-16 17:30:41.167996851 +0000<br>
> +++ actual 2022-12-16 17:30:41.179996850 +0000<br>
> @@ -1 +1 @@<br>
> -/data/local/tmp/toybox-tests-tmp.gAHArSomwm/realpath<br>
> +/data/local/tmp/toybox-tests-tmp.gAHArSomwm/realpath/one<br>
<br>
Hmmm...<br>
<br>
PASS: realpath -s .. eats symlink<br>
PASS: realpath -s .. eats symlink in $PWD<br>
PASS: realpath -es dangling symlink<br>
<br>
Statically built with android-ndk-r25b it's passing for me? What filesystem are<br>
you using?<br></blockquote><div><br></div><div>looks like f2fs... (patch for portability.c so `stat -f` decodes that sent!)</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Rob<br>
</blockquote></div></div>