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
2023-01-09 22:57:50 +07:00
parent 1d8d483f59
commit 9cd80d8a58
+2 -1
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;