mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-09 09:57:26 +03:00
Revert "test-journal-flush: Don't fail on EADDRNOTAVAIL"
This reverts commit 3388a4b5820012b945d9925446764717afcdb5b0. The error EADDRNOTAVAIL in the test only comes from journal_file_move_to(), and it does not mean the corrupted journal, but pure programming error.
This commit is contained in:
parent
3388a4b582
commit
c21e114004
@ -58,8 +58,7 @@ 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 */
|
||||
-EADDRNOTAVAIL)); /* corrupted file */
|
||||
-EIO)); /* file rotated */
|
||||
|
||||
if (++n >= 10000)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user