The branch main has been updated by pho:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=dbb0cb19ec7fcfc103b72c895cf0fdaa99e7ac04

commit dbb0cb19ec7fcfc103b72c895cf0fdaa99e7ac04
Author:     Peter Holm <[email protected]>
AuthorDate: 2021-09-02 07:12:58 +0000
Commit:     Peter Holm <[email protected]>
CommitDate: 2021-09-02 07:12:58 +0000

    stress2: Update test to new working of option nomtime
---
 tools/test/stress2/misc/tmpfs22.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/test/stress2/misc/tmpfs22.sh 
b/tools/test/stress2/misc/tmpfs22.sh
index 36d2cc59dabd..4439ad1bf1d5 100755
--- a/tools/test/stress2/misc/tmpfs22.sh
+++ b/tools/test/stress2/misc/tmpfs22.sh
@@ -105,8 +105,8 @@ main(void)
        if (fstat(fd, &st2) == -1)
                err(1, "fstat 2");
        s = 0;
-       if (st1.st_mtime != st2.st_mtime) {
-               fprintf(stderr, "mtime differs: %ld %ld\n",
+       if (st1.st_mtime == st2.st_mtime) {
+               fprintf(stderr, "mtime is unchanged: %ld %ld\n",
                    (long)st1.st_mtime, (long)st2.st_mtime);
                s=1;
        }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to