On Mon, Apr 25, 2016 at 04:18:20PM +0800, Fei Jie wrote: > * tests/sched_rr_get_interval.c: New file. > * tests/sched_rr_get_interval.test: New test. > * tests/.gitignore: Add sched_rr_get_interval. > * tests/Makefile.am (check_PROGRAMS): Likewise. > (DECODER_TESTS): Add sched_rr_get_interval.test. [...] On Mon, Apr 25, 2016 at 04:18:21PM +0800, Fei Jie wrote: > * tests/setdomainname.c: New file. > * tests/setdomainname.test: New test. > * tests/.gitignore: Add setdomainname. > * tests/Makefile.am (check_PROGRAMS): Likewise. > (DECODER_TESTS): Add setdomainname.test. [...] On Mon, Apr 25, 2016 at 04:18:22PM +0800, Fei Jie wrote: > * tests/rmdir.c: New file. > * tests/rmdir.test: New test. > * tests/.gitignore: Add rmdir. > * tests/Makefile.am (check_PROGRAMS): Likewise. > (DECODER_TESTS): Add rmdir.test. [...]
Applied, thanks. On Mon, Apr 25, 2016 at 04:18:23PM +0800, Fei Jie wrote: > * tests/symlink.c: New file. > * tests/symlink.test: New test. > * tests/.gitignore: Add symlink. > * tests/Makefile.am (check_PROGRAMS): Likewise. > (DECODER_TESTS): Add symlink.test. [...] > diff --git a/tests/symlink.c b/tests/symlink.c > new file mode 100644 > index 0000000..bb324aa > --- /dev/null > +++ b/tests/symlink.c > @@ -0,0 +1,26 @@ > +#include "tests.h" > +#include <sys/syscall.h> > + > +#ifdef __NR_symlink > + > +# include <stdio.h> > +# include <unistd.h> > + > +int > +main(void) > +{ > + static const char sample_1[] = "symlink_new"; > + static const char sample_2[] = "symlink"; > + long rc = syscall(__NR_symlink, sample_1, sample_2); > + printf("symlink(\"%s\", \"%s\") = %ld %s (%m)\n", > + sample_1, sample_2, rc, errno2name()); > + > + puts("+++ exited with 0 +++"); > + return 0; > +} Fixed indentation and applied, thanks. -- ldv
pgp1YuP4_mLCw.pgp
Description: PGP signature
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel