Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/rump/rumpvfs one more test
details: https://anonhg.NetBSD.org/src/rev/7a6fe81ea2ec
branches: trunk
changeset: 759162:7a6fe81ea2ec
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Nov 30 18:19:47 2010 +0000
description:
one more test
diffstat:
tests/rump/rumpvfs/t_etfs.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r cbae62d1d4ef -r 7a6fe81ea2ec tests/rump/rumpvfs/t_etfs.c
--- a/tests/rump/rumpvfs/t_etfs.c Tue Nov 30 18:14:38 2010 +0000
+++ b/tests/rump/rumpvfs/t_etfs.c Tue Nov 30 18:19:47 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_etfs.c,v 1.8 2010/11/30 18:14:38 pooka Exp $ */
+/* $NetBSD: t_etfs.c,v 1.9 2010/11/30 18:19:47 pooka Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -279,9 +279,12 @@
RL(rump_sys_open("/key//with/slashes", O_RDONLY));
RL(rump_sys_open("key//with/slashes", O_RDONLY));
-
ATF_REQUIRE_ERRNO(ENOENT,
rump_sys_open("/key/with/slashes", O_RDONLY) == -1);
+
+ RL(rump_sys_mkdir("/a", 0777));
+ ATF_REQUIRE_ERRNO(ENOENT,
+ rump_sys_open("/a/key//with/slashes", O_RDONLY) == -1);
}
ATF_TP_ADD_TCS(tp)
Home |
Main Index |
Thread Index |
Old Index