[PATCH 1/5] tests: add reboot.test

Dmitry V. Levin ldv at altlinux.org
Thu Apr 28 01:50:52 UTC 2016


On Tue, Apr 26, 2016 at 04:03:07PM +0800, Fei Jie wrote:
> * tests/reboot.c: New file.
> * tests/reboot.test: New test.
> * tests/.gitignore: Add reboot.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add reboot.test.
[...]
On Tue, Apr 26, 2016 at 04:03:08PM +0800, Fei Jie wrote:
> * tests/unlink.c: New file.
> * tests/unlink.test: New test.
> * tests/.gitignore: Add unlink.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add unlink.test.
[...]
On Tue, Apr 26, 2016 at 04:03:09PM +0800, Fei Jie wrote:
> * tests/mknodat.c: New file.
> * tests/mknodat.test: New test.
> * tests/.gitignore: Add mknodat.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add mknodat.test.
[...]
On Tue, Apr 26, 2016 at 04:03:10PM +0800, Fei Jie wrote:
> * tests/sync.c: New file.
> * tests/sync.test: New test.
> * tests/.gitignore: Add sync.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add sync.test.

Applied, thanks.

[...]
On Tue, Apr 26, 2016 at 04:03:11PM +0800, Fei Jie wrote:
> * tests/sched_yield.c: New file.
> * tests/sched_yield.test: New test.
> * tests/.gitignore: Add sched_yield.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add sched_yield.test.
[...]
> diff --git a/tests/sched_yield.c b/tests/sched_yield.c
> new file mode 100644
> index 0000000..a804773
> --- /dev/null
> +++ b/tests/sched_yield.c
> @@ -0,0 +1,23 @@
> +#include "tests.h"
> +#include <sys/syscall.h>
> +
> +#ifdef __NR_sched_yield
> +
> +# include <sched.h>
> +# include <stdio.h>
> +# include <unistd.h>

sched.h is not needed for this test, applied with this correction.


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


More information about the Strace-devel mailing list