[Toybox] one last find thing...

enh enh at google.com
Mon Jun 10 14:54:08 PDT 2019


okay, so with the -true/-false patch i can build AOSP with toybox
find. but i still get those warnings i mentioned years (?) ago but
only this morning actually have chance to dig into...

add something like this to tests/find.test:

+ln -s does-not-exist dir/dangler
+ln -s looper dir/looper
+testing "-L dangling symlink" "find -L dir -name file 2>&1" "dir/file\n" "" ""

basically, TEST_HOST will warn about looper but not about dangler.
toybox will warn about both. presumably a new DIRTREE_ flag needed?
possibly related to the existing issue with ls warnings when it can't
stat?

sounds like something i should leave to you...


More information about the Toybox mailing list