From owner-dev-commits-src-all@freebsd.org Thu Sep 2 07:15:04 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F002679F56; Thu, 2 Sep 2021 07:15:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H0XHq6rRBz3LP7; Thu, 2 Sep 2021 07:15:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C2A1514D03; Thu, 2 Sep 2021 07:15:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1827F3Jg074288; Thu, 2 Sep 2021 07:15:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1827F3fT074287; Thu, 2 Sep 2021 07:15:03 GMT (envelope-from git) Date: Thu, 2 Sep 2021 07:15:03 GMT Message-Id: <202109020715.1827F3fT074287@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Holm Subject: git: dbb0cb19ec7f - main - stress2: Update test to new working of option nomtime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pho X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dbb0cb19ec7fcfc103b72c895cf0fdaa99e7ac04 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2021 07:15:04 -0000 The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=dbb0cb19ec7fcfc103b72c895cf0fdaa99e7ac04 commit dbb0cb19ec7fcfc103b72c895cf0fdaa99e7ac04 Author: Peter Holm AuthorDate: 2021-09-02 07:12:58 +0000 Commit: Peter Holm 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; }