mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
test_env: Try to execute an empty file instead of .
For some unclear reason, Android _now_ sometimes returns an IsADirectory error, instead of PermissionDenied, when trying to execute `.`. Since this test really wants to test PermissionDenied, we try to execute a file in the fixture instead, that doesn't have exec permission. Also, limit this test to Unix. Fixes part of #7542.
This commit is contained in:
parent
152dada379
commit
7eb873c326
2 changed files with 4 additions and 2 deletions
0
tests/fixtures/env/empty
vendored
Normal file
0
tests/fixtures/env/empty
vendored
Normal file
Loading…
Add table
Add a link
Reference in a new issue