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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user