diff options
author | Victor Chang <vichang@google.com> | 2020-12-24 14:57:44 +0000 |
---|---|---|
committer | Reka Norman <rekanorman@google.com> | 2021-04-06 10:05:41 +1000 |
commit | a258ec39492ff00af8f5198485950105590a41d4 (patch) | |
tree | 9fd3671111c7425b6fab0afc7961b8284e056352 /include/ScopedJavaUnicodeString.h | |
parent | f79b99d03000524706b5f2d8259058d2ed95ad2d (diff) |
[RESTRICT AUTOMERGE] Modify FileTest#test_createNewFile to match the behavior change on kernel version 5.7+
Cherry-picking this to pie-cts-dev to fix an Android P CtsLibcore
failure when using the 5.10 kernel.
Original change description:
Relax the test expection on new File("/..").createNewFile().
File.createNewFile() with other illegal paths, e.g. "", "/a/../../", still throws
IOException on kernel 5.4 and 5.10.
Bug: 176057454
Bug: 179621021
Test: atest CtsLibcoreTestCases:org.apache.harmony.tests.java.io.FileTest on kernel 5.10
Test: atest CtsLibcoreTestCases:org.apache.harmony.tests.java.io.FileTest on kernel 5.4
Change-Id: I91455d09853c1e2e9b7dcd9c0c7ecfc9e537160e
(cherry picked from commit f2d9613d33d8f8f12df573b405814b0f7184bfba)
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions