Revert "test-journal-flush: Don't fail on EADDRNOTAVAIL"

This reverts commit 3388a4b582.

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:
Yu Watanabe
2022-10-12 14:47:37 +09:00
parent 3388a4b582
commit c21e114004
+1 -2
View File
@@ -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;