readlink -f still segfaults
Bernhard Fischer
rep.nop at aon.at
Fri May 5 10:59:58 PDT 2006
On Fri, May 05, 2006 at 05:17:19PM +0200, Natanael Copa wrote:
>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.
>
I'll fix it up to use "optional" and to remove COMMAND= and apply it
along your fix asap.
Thanks!
More information about the busybox
mailing list