stress2: Update test to new working of option nomtime

This commit is contained in:
Peter Holm 2021-09-02 07:12:58 +00:00
parent 78f718e2c8
commit dbb0cb19ec

View File

@ -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;
}