[PATCH 1/4] tests: add mkdir.test

Dmitry V. Levin ldv at altlinux.org
Thu Apr 21 23:35:17 UTC 2016


On Thu, Apr 21, 2016 at 03:53:49PM +0800, Fei Jie wrote:
> * tests/mkdir.c: New file.
> * tests/mkdir.test: New test.
> * tests/.gitignore: Add mkdir.
> * tests/Makefile.am (check_PROGRAMS): Likewise.
> (DECODER_TESTS): Add mkdir.test.

Applied with minor corrections:

> +# include <sys/stat.h>
> +# include <sys/types.h>

These are not needed for this test, removed.

> +# include <stdio.h>
> +# include <unistd.h>

> +	       errno == ENOSYS ? "ENOSYS" : "EEXIST");

This was changed by the follow-up commit.


-- 
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/20160422/d1dd83cc/attachment.bin>


More information about the Strace-devel mailing list