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):
15491549 except NotImplementedError :
15501550 if os .link in os .supports_follow_symlinks or default_no_follow :
15511551 raise
1552- except PermissionError :
1553- if sys .platform == 'android' :
1554- self .skipTest ('Android blocks follow_symlinks with SELinux' )
1555- raise
15561552 else :
15571553 self .addCleanup (os_helper .unlink , link )
15581554 self .assertEqual (posix .lstat (link ), posix .lstat (symlink ))
@@ -1565,10 +1561,6 @@ def test_link_follow_symlinks(self):
15651561 except NotImplementedError :
15661562 if os .link in os .supports_follow_symlinks or default_follow :
15671563 raise
1568- except PermissionError :
1569- if sys .platform == 'android' :
1570- self .skipTest ('Android blocks follow_symlinks with SELinux' )
1571- raise
15721564 else :
15731565 self .addCleanup (os_helper .unlink , link )
15741566 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 *);
573573# define HAVE_FACCESSAT_RUNTIME 1
574574# define HAVE_FCHMODAT_RUNTIME 1
575575# define HAVE_FCHOWNAT_RUNTIME 1
576- #ifdef __wasi__
576+ #if defined( __wasi__ ) || defined( __ANDROID__ )
577577# define HAVE_LINKAT_RUNTIME 0
578578# else
579579# define HAVE_LINKAT_RUNTIME 1
You can’t perform that action at this time.
0 commit comments