Module Name: src
Committed By: hannken
Date: Thu Aug 25 18:46:01 UTC 2011
Modified Files:
src/tests/lib/librumpclient: t_fd.c
Log Message:
t_fd/sigio: pass test if we receive at least one SIGIO signal.
While a real kernel collects these signals until the connect() returns and
then delivers one signal rump delivers every signal so we get more than one.
Ok: Antti Kantee <[email protected]>
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/librumpclient/t_fd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/librumpclient/t_fd.c
diff -u src/tests/lib/librumpclient/t_fd.c:1.3 src/tests/lib/librumpclient/t_fd.c:1.4
--- src/tests/lib/librumpclient/t_fd.c:1.3 Mon Aug 15 15:19:08 2011
+++ src/tests/lib/librumpclient/t_fd.c Thu Aug 25 18:46:01 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: t_fd.c,v 1.3 2011/08/15 15:19:08 gson Exp $ */
+/* $NetBSD: t_fd.c,v 1.4 2011/08/25 18:46:01 hannken Exp $ */
/*
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -134,7 +134,7 @@
RL(rump_sys_connect(cs, (struct sockaddr *)&sin, sizeof(sin)));
sc = sigcnt;
printf("sigcnt after connect: %d\n", sc);
- ATF_REQUIRE_EQ(sc, 1);
+ ATF_REQUIRE(sc >= 1);
}
ATF_TP_ADD_TCS(tp)