mark read_random xfail kern/51135

This commit is contained in:
pooka 2016-05-13 13:22:28 +00:00
parent 2b98d8b4ef
commit 0a4930ca68
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_rnd.c,v 1.7 2016/05/12 11:41:43 pooka Exp $ */
/* $NetBSD: t_rnd.c,v 1.8 2016/05/13 13:22:28 pooka Exp $ */
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_rnd.c,v 1.7 2016/05/12 11:41:43 pooka Exp $");
__RCSID("$NetBSD: t_rnd.c,v 1.8 2016/05/13 13:22:28 pooka Exp $");
#include <sys/types.h>
#include <sys/fcntl.h>
@ -99,6 +99,8 @@ ATF_TC_BODY(read_random, tc)
char buf[128];
int fd;
atf_tc_expect_fail("PR kern/51135");
rump_init();
RL(fd = rump_sys_open("/dev/random", O_RDONLY));
RL(rump_sys_read(fd, buf, sizeof(buf)));