readlink -f still segfaults

Natanael Copa natanael.copa at gmail.com
Fri May 5 15:17:19 UTC 2006


On Fri, 2006-05-05 at 12:12 +0200, Bernhard Fischer wrote:
> On Fri, May 05, 2006 at 12:54:50PM +0200, Natanael Copa wrote:
> >On Fri, 2006-05-05 at 11:44 +0200, Bernhard Fischer wrote:
> >>
> >> and make a simple
> >> testsuite/readlink.tests
> >
> >I'm pretty new to this. Are there any docs on how to create testcases?
> 
> Look at e.g. testsuite/sort.tests
> 
> You can run tests conditionally to a feature by saying:
> optional FEATURE_READLINK_FOLLOW
> and reset to unconditionally running tests with
> optional ""
> if you choose to run generic stuff after conditional ones.
> busybox.tests has an example for this, but for readlink, i'd check the
> gerenic stuff first and then the single optional FEATURE.
> 
> See?

Yep. Thank you very much.

Please take a look at the attatched test script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: readlink.tests
Type: application/x-shellscript
Size: 921 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060505/ca409732/attachment.bin 


More information about the busybox mailing list