File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -1549,10 +1549,6 @@ def test_link_follow_symlinks(self):
1549
1549
except NotImplementedError :
1550
1550
if os .link in os .supports_follow_symlinks or default_no_follow :
1551
1551
raise
1552
- except PermissionError :
1553
- if sys .platform == 'android' :
1554
- self .skipTest ('Android blocks follow_symlinks with SELinux' )
1555
- raise
1556
1552
else :
1557
1553
self .addCleanup (os_helper .unlink , link )
1558
1554
self .assertEqual (posix .lstat (link ), posix .lstat (symlink ))
@@ -1565,10 +1561,6 @@ def test_link_follow_symlinks(self):
1565
1561
except NotImplementedError :
1566
1562
if os .link in os .supports_follow_symlinks or default_follow :
1567
1563
raise
1568
- except PermissionError :
1569
- if sys .platform == 'android' :
1570
- self .skipTest ('Android blocks follow_symlinks with SELinux' )
1571
- raise
1572
1564
else :
1573
1565
self .addCleanup (os_helper .unlink , link )
1574
1566
self .assertEqual (posix .lstat (link ), posix .lstat (orig ))
Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ extern char *ctermid_r(char *);
573
573
# define HAVE_FACCESSAT_RUNTIME 1
574
574
# define HAVE_FCHMODAT_RUNTIME 1
575
575
# define HAVE_FCHOWNAT_RUNTIME 1
576
- #ifdef __wasi__
576
+ #if defined( __wasi__ ) || defined( __ANDROID__ )
577
577
# define HAVE_LINKAT_RUNTIME 0
578
578
# else
579
579
# define HAVE_LINKAT_RUNTIME 1
You can’t perform that action at this time.
0 commit comments