Modify FileTest#test_createNewFile to match the behavior change on kernel version 5.7+

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: 194638835
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
Merged-In: I91455d09853c1e2e9b7dcd9c0c7ecfc9e537160e
(cherry picked from commit f2d9613d33d8f8f12df573b405814b0f7184bfba)
1 file changed