[PATCH] tests/stat: support fstatat syscall for stat()
Mike Frysinger
vapier at gentoo.org
Mon May 6 16:10:24 UTC 2013
On Monday 06 May 2013 11:21:13 Chris Metcalf wrote:
> -LC_ALL=C grep -x 'stat\(64\)\?("sample", {st_mode=S_IFREG|0644, st_size=46118400000, \.\.\.}) \+= 0' check.log > /dev/null ||
> +LC_ALL=C grep -x 'f\?stat\(at\)\?\(64\)\?(\(AT_FDCWD, \)\?"sample", {st_mode=S_IFREG|0644, st_size=46118400000, \.\.\.}\(,
0\)\?) \+= 0' check.log > /dev/null ||
i know it's not a new issue w/your patch, but could you change this to use
grep -E instead ? that will require a escaping the plain ( and ), but i think
that's better since the current syntax is not in POSIX afaik and you end up
with less total escapes ...
LC_ALL=C grep -x 'f?stat(at)?(64)?\(((AT_FDCWD, )?"sample", .........
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130506/2dda189d/attachment.bin>
More information about the Strace-devel
mailing list