NetBSD Problem Report #57397
From www@netbsd.org Mon May 8 15:43:38 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 29CB01A923B
for <gnats-bugs@gnats.NetBSD.org>; Mon, 8 May 2023 15:43:38 +0000 (UTC)
Message-Id: <20230508154306.7422B1A923D@mollari.NetBSD.org>
Date: Mon, 8 May 2023 15:43:06 +0000 (UTC)
From: jspath55@gmail.com
Reply-To: jspath55@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Minor comment typos in t_vnops.c test program
X-Send-Pr-Version: www-1.0
>Number: 57397
>Category: misc
>Synopsis: Minor comment typos in t_vnops.c test program
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: andvar
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon May 08 15:45:00 +0000 2023
>Closed-Date: Mon May 08 19:25:59 +0000 2023
>Last-Modified: Mon May 08 19:25:59 +0000 2023
>Originator: Jim Spath
>Release: 10.0_BETA
>Organization:
>Environment:
NetBSD net.bsd 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Sun Feb 12 12:39:37 UTC 2023 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64 x86_64 AMD 686-class NetBSD
>Description:
While reviewing an automated test framework program, I noted typos.
/usr/tests/fs/vfs/t_vnops.c
>How-To-Repeat:
Just text.
>Fix:
Diff for fixes:
$ diff -u t_vnops.c.df t_vnops.c
--- t_vnops.c.df 2022-02-01 18:27:24.000000000 +0000
+++ t_vnops.c 2023-05-08 15:35:10.030000000 +0000
@@ -104,9 +104,9 @@
* The lookup is permitted to modify the access time of
* any directories searched - such a directory is the
* subject of this test. Any difference should cause
- * the 2nd lookup atime tp be >= the first, if it is ==, all is
+ * the 2nd lookup atime to be >= the first, if it is ==, all is
* OK (atime is not required to be modified by the search, or
- * both references may happen within the came clock tick), if the
+ * both references may happen within the same clock tick), if the
* 2nd lookup atime is > the first, but not "too much" greater,
* just set it back, so the memcmp just below succeeds
* (assuming all else is OK).
@@ -167,7 +167,7 @@
if (rump_sys_stat(pb, &sb) == -1)
atf_tc_fail_errno("stat new directory");
- /* check we can remove then and that it makes them unreachable */
+ /* check we can remove them and that it makes them unreachable */
if (rump_sys_rmdir(pb) == -1)
atf_tc_fail_errno("rmdir");
if (rump_sys_stat(pb, &sb) != -1 || errno != ENOENT)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->andvar
Responsible-Changed-By: andvar@NetBSD.org
Responsible-Changed-When: Mon, 08 May 2023 18:03:14 +0000
Responsible-Changed-Why:
take
State-Changed-From-To: open->closed
State-Changed-By: andvar@NetBSD.org
State-Changed-When: Mon, 08 May 2023 19:25:59 +0000
State-Changed-Why:
fixed, thanks for PR report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.