nixpkgs/pkgs/shells/bash/fix-invocation-tests.patch
Silvan Mosberger 305c5f1f12 bash: Add tests.withChecks passthru to run tests
Co-Authored-By: Alexander Bantyev <alexander.bantyev@tweag.io>
2025-10-08 00:35:13 +02:00

13 lines
359 B
Diff

diff --git tests/invocation.tests tests/invocation.tests
index c629c29..537e470 100644
--- tests/invocation.tests
+++ tests/invocation.tests
@@ -71,7 +71,7 @@ command cd -L $TDIR
./x23
# this should result in a cannot execute binary file error since ls is in $PATH
-PATH=/bin:/usr/bin
+#PATH=/bin:/usr/bin
${THIS_SH} ls |& sed 's|^.*: ||'
cd $SAVEPWD