[CRIU] [PATCH] Fix building unlink_fstat00 unlink test case

Andrei Vagin avagin at virtuozzo.com
Thu May 10 00:39:41 MSK 2018


Applied, thanks

On Wed, May 09, 2018 at 05:08:27PM +0000, Adrian Reber wrote:
> From: Adrian Reber <areber at redhat.com>
> 
> Signed-off-by: Adrian Reber <areber at redhat.com>
> ---
>  test/zdtm/static/unlink_fstat00.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/test/zdtm/static/unlink_fstat00.c b/test/zdtm/static/unlink_fstat00.c
> index faafb1b..79ea902 100644
> --- a/test/zdtm/static/unlink_fstat00.c
> +++ b/test/zdtm/static/unlink_fstat00.c
> @@ -9,6 +9,14 @@
>  
>  #include "zdtmtst.h"
>  
> +#ifndef __O_TMPFILE
> +#define __O_TMPFILE 020000000
> +#endif
> +
> +#ifndef O_TMPFILE
> +#define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
> +#endif
> +
>  const char *test_doc	= "Open, unlink, change size, seek, migrate, check size";
>  
>  #ifdef UNLINK_FSTAT04
> -- 
> 1.8.3.1
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list