[Toybox] macOS realpath test failures

Rob Landley rob at landley.net
Fri Dec 16 18:53:31 PST 2022


On 12/16/22 13:10, enh wrote:
> looks like there's a realpath failure (but no change to any of the other tests):
> 
> -- realpath
> PASS: realpath -s link/..
> PASS: realpath -s .. eats symlink
> FAIL: realpath -s .. eats symlink in $PWD
> echo -ne '' | cd dos && realpath -s ..
> --- expected 2022-12-16 17:30:41.167996851 +0000
> +++ actual 2022-12-16 17:30:41.179996850 +0000
> @@ -1 +1 @@
> -/data/local/tmp/toybox-tests-tmp.gAHArSomwm/realpath
> +/data/local/tmp/toybox-tests-tmp.gAHArSomwm/realpath/one

Hmmm...

PASS: realpath -s .. eats symlink
PASS: realpath -s .. eats symlink in $PWD
PASS: realpath -es dangling symlink

Statically built with android-ndk-r25b it's passing for me? What filesystem are
you using?

Rob


More information about the Toybox mailing list