From def4a832425bfe94b96b8cb1146a83552b754fb4 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 11 Jun 2025 20:25:34 -0400 Subject: xspawn: Don't check xfaccess(..., X_OK) before fchdir() Fixes: 8c130ca ("xspawn: Check X_OK even without $PATH resolution") --- tests/gnu/execdir_self.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/gnu/execdir_self.sh (limited to 'tests/gnu/execdir_self.sh') diff --git a/tests/gnu/execdir_self.sh b/tests/gnu/execdir_self.sh new file mode 100644 index 0000000..1fc5d04 --- /dev/null +++ b/tests/gnu/execdir_self.sh @@ -0,0 +1,9 @@ +cd "$TEST" +mkdir foo +cat >foo/bar.sh <