Hi!
> +static void setup1(struct testcase_t *t, int i)
> +{
> + t->ns_type = ns_types[i];
> + t->fd = open("dummy", O_CREAT);
While I tried to compile this code, I've got error as open with O_CREAT
is required to pass the mode.
> + if (t->fd == -1)
> + tst_brkm(TFAIL|TERRNO, cleanup, "setup1:open failed");
> + unlink("dummy");
> +}
--
Cyril Hrubis
[email protected]
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list