mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
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:
parent
1d8d483f59
commit
9cd80d8a58
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue