[PATCH v1] Changing print_dev_t to print raw device number if -Xraw

Dmitry V. Levin ldv at altlinux.org
Tue Dec 11 00:56:07 UTC 2018


On Tue, Dec 11, 2018 at 03:46:10AM +0300, Dmitry V. Levin wrote:
> On Sat, Dec 08, 2018 at 05:57:45PM -0800, shankarapailoor wrote:
[...]
> > diff --git a/tests/gen_tests.in b/tests/gen_tests.in
> > index 7374add8..9a0b26f2 100644
> > --- a/tests/gen_tests.in
> > +++ b/tests/gen_tests.in
> > @@ -89,7 +89,13 @@ finit_module	-a25
> >  flock	-a19
> >  fork-f	-a26 -qq -f -e signal=none -e trace=chdir
> >  fstat	-a15 -v -P stat.sample
> > +fstat-Xraw -a15 -v -Xraw -P stat.sample -e trace=fstat
> > +fstat-Xverbose -a15 -v -Xverbose -P stat.sample -e trace=fstat
> > +fstat-Xabbrev -a15 -v -Xabbrev -P stat.sample -e trace=fstat
> >  fstat64	-a17 -v -P stat.sample
> > +fstat64-Xraw -a17 -Xraw -v -P stat.sample
> > +fstat64-Xverbose -a17 -Xverbose -v -P stat.sample
> > +fstat64-Xabbrev -a17 -Xabbrev -v -P stat.sample
> >  fstatat64	-a32 -v -P stat.sample -P /dev/full
> >  fstatfs	-a18
> >  fstatfs64	-a24
> 
> Please keep the list sorted.

Also, it doesn't work as expected:

FAIL: fstat64-Xabbrev.gen
../strace: invalid system call 'fstat64-Xabbrev'

FAIL: fstat64-Xraw.gen
../strace: invalid system call 'fstat64-Xraw'

FAIL: fstat64-Xverbose.gen
../strace: invalid system call 'fstat64-Xverbose'


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181211/4460cf80/attachment.bin>


More information about the Strace-devel mailing list