[PATCH] tests/stat: use find -follow for busybox compatibility

Dmitry V. Levin ldv at altlinux.org
Wed May 8 16:08:14 UTC 2013


On Wed, May 08, 2013 at 11:48:26AM -0400, Mike Frysinger wrote:
> On Wednesday 08 May 2013 05:00:31 James Hogan wrote:
> > Use the -follow argument to find instead of -L for compatibility with
> > busybox which doesn't have the -L option.
> 
> so fix busybox.  the -L option is part of POSIX and assuming at least a POSIX 
> base is perfectly fair game.  anything else is a nightmare of random 
> unmaintainable changes.
> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/find.html

I'm inclined to rewrite that part of the test in C,
so that more "long long" syscalls could be tested.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130508/5693f7b4/attachment.bin>


More information about the Strace-devel mailing list