NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/57397: Minor comment typos in t_vnops.c test program
>Number: 57397
>Category: misc
>Synopsis: Minor comment typos in t_vnops.c test program
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon May 08 15:45:00 +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@localhost:/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)
Home |
Main Index |
Thread Index |
Old Index