test-journal-flush: don't fail on -EREMCHG

-EREMCHG on write is now used to denote clock rollback conditions
detected during journal write.
This commit is contained in:
msizanoen1 2022-10-12 15:38:25 +07:00
parent 1d8d483f59
commit 9cd80d8a58

View file

@ -58,7 +58,8 @@ static void test_journal_flush(int argc, char *argv[]) {
assert_se(r >= 0 ||
IN_SET(r, -EBADMSG, /* corrupted file */
-EPROTONOSUPPORT, /* unsupported compression */
-EIO)); /* file rotated */
-EIO, /* file rotated */
-EREMCHG)); /* clock rollback */
if (++n >= 10000)
break;