[RESTRICT AUTOMERGE] fcntl_F_SETFD test: allow both Android 14 and 2024Q1 behavior.
What's important is that we name the flag. It doesn't really matter whether you have the better message that will be in Android 15. As long as 2024Q1 is using Android 14's CTS, Android 14's CTS needs to work with both. Bug: http://b/307680874 Test: treehugger Change-Id: I8c50707e1dfd6b40e6ced887ae105508c6339989
This commit is contained in:
parent
9908b1e3c8
commit
7922ce0d0d
1 changed files with 1 additions and 1 deletions
|
@ -361,5 +361,5 @@ TEST(fcntl, open_O_TMPFILE_mode) {
|
|||
}
|
||||
|
||||
TEST(fcntl_DeathTest, fcntl_F_SETFD) {
|
||||
EXPECT_DEATH(fcntl(0, F_SETFD, O_NONBLOCK), "non-FD_CLOEXEC");
|
||||
EXPECT_DEATH(fcntl(0, F_SETFD, O_NONBLOCK), "FD_CLOEXEC");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue