Skip to content

Commit

Permalink
Auto merge of #102757 - pcc:android-std-tests, r=workingjubilee
Browse files Browse the repository at this point in the history
Make std tests pass on newer Android

Newer versions of Android forbid the creation of hardlinks as well as Unix domain sockets in the /data filesystem via SELinux rules, which causes several tests depending on this behavior to fail. So let's skip these tests on Android if we see an EACCES from one of these syscalls. To achieve this, introduce a macro with the horrible name of or_panic_or_skip_on_android_eacces (better suggestions welcome) which skips (returns from) the test if an EACCES return value is seen on Android.
  • Loading branch information
bors committed Jul 26, 2023
2 parents 14742bd + 3a38500 commit 6eced34
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 6eced34

Please sign in to comment.