<div dir="ltr"><div>github CI caught a few failures (<a href="https://github.com/landley/toybox/actions/runs/3561813808/jobs/5983047254">https://github.com/landley/toybox/actions/runs/3561813808/jobs/5983047254</a>):</div><div><br></div>PASS: realpath -s<br>............................................................................................................................realpath: dos/three: Not a directory<br>FAIL: realpath -s link/..<br>echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/realpath" -es dos/three<br>--- expected      2022-11-28 04:54:16.000000000 +0000<br>+++ actual 2022-11-28 04:54:16.000000000 +0000<br>@@ -1 +0,0 @@<br>-/Users/runner/work/toybox/toybox/generated/testdir/testdir/dos/three<br>PASS: realpath -s .. eats symlink<br>PASS: realpath -s .. eats symlink in $PWD<br>FAIL: realpath -es dangling symlink<br>echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/realpath" -es dangling 2>/dev/null || echo ok<br>--- expected        2022-11-28 04:54:16.000000000 +0000<br>+++ actual 2022-11-28 04:54:16.000000000 +0000<br>@@ -1 +1 @@<br>-ok<br>+/Users/runner/work/toybox/toybox/generated/testdir/testdir/dangling<br>PASS: realpath -ms<br>realpath: one/two/ichi/two/ichi/two: Not a directory<br>FAIL: realpath -es<br>echo -ne '' | "/Users/runner/work/toybox/toybox/generated/testdir/realpath" -es one/two/ichi/two/ichi/two<br>--- expected    2022-11-28 04:54:16.000000000 +0000<br>+++ actual 2022-11-28 04:54:17.000000000 +0000<br>@@ -1 +0,0 @@<br>-/Users/runner/work/toybox/toybox/generated/testdir/testdir/one/two/ichi/two/ichi/two<br><div><br></div></div>