7 Commits

Author SHA1 Message Date
Rob Landley
2154953362 Update relative path plumbing and extend realpath. More tests. 2022-11-23 15:15:06 -06:00
Rob Landley
bec57325b5 Expanding readlink and realpath (in progress). 2022-11-20 16:37:32 -06:00
Elliott Hughes
86c25f5335 readlink: add missing line, plus a test.
I must have lost this line somehow when I moved the patch from my AOSP
tree to a toybox tree. (But the ln tests passed on the host because I
was using coreutils ln there :-( )
2019-10-04 16:16:57 -05:00
Rob Landley
cd3f81ebe5 Add readlink -m to show where a missing path would be.
Note: ubuntu will show -m through a file, this treat that as error.
2018-04-08 20:50:10 -05:00
Rob Landley
bd3a4a0308 Ubuntu's ln -f dies if you do "ln -s link link; ln -sf / link". Toybox's
ln -f does the rm and retry if the first attempt fails for any reason.

So if you run the readlink test with an ubuntu host $PATH, it fails, but
it works with a toybox host path.
2018-04-08 17:02:55 -05:00
Rob Landley
336c44adca Factor out command name at the start of test name, have runtest.sh print it. 2016-03-02 15:20:04 -06:00
Rob Landley
387edf547e Move testsuite out of scripts/test into its own top level tests directory, and make ctrl-c kill "make test" more reliably. 2014-09-20 13:09:14 -05:00