Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/syscall Do not play with master.passwd(5). Just in cas...
details: https://anonhg.NetBSD.org/src/rev/b69e7c08a118
branches: trunk
changeset: 766873:b69e7c08a118
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jul 03 14:45:07 2011 +0000
description:
Do not play with master.passwd(5). Just in case the test actually succeeds...
diffstat:
tests/syscall/t_truncate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a6c00daaebc1 -r b69e7c08a118 tests/syscall/t_truncate.c
--- a/tests/syscall/t_truncate.c Sun Jul 03 14:42:13 2011 +0000
+++ b/tests/syscall/t_truncate.c Sun Jul 03 14:45:07 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_truncate.c,v 1.2 2011/06/21 01:45:26 jruoho Exp $ */
+/* $NetBSD: t_truncate.c,v 1.3 2011/07/03 14:45:07 jruoho Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_truncate.c,v 1.2 2011/06/21 01:45:26 jruoho Exp $");
+__RCSID("$NetBSD: t_truncate.c,v 1.3 2011/07/03 14:45:07 jruoho Exp $");
#include <sys/stat.h>
@@ -160,7 +160,7 @@
ATF_REQUIRE_ERRNO(ENOENT, truncate("/a/b/c/d/e/f/g", 999) == -1);
errno = 0;
- ATF_REQUIRE_ERRNO(EACCES, truncate("/etc/master.passwd", 999) == -1);
+ ATF_REQUIRE_ERRNO(EACCES, truncate("/root/.profile", 999) == -1);
}
ATF_TP_ADD_TCS(tp)
Home |
Main Index |
Thread Index |
Old Index