projects/guix·blob python-team · refs

39 lines · 877 B

1Disable tests checking the default PATH set by yash, which is used when the
2PATH environment variable is unset. These tests do not work on Guix because
3the standard PATH relies on /usr/bin:/bin:…, which do not exist no Guix.
4
5diff --git a/tests/command-p.tst b/tests/command-p.tst
6index 47a4f29b..0ac459de 100644
7--- a/tests/command-p.tst
8+++ b/tests/command-p.tst
9@@ -57,13 +57,6 @@ __IN__
10 foo
11 __OUT__
12
13-test_o -e 0 'executing with standard path'
14-PATH=
15-command -p echo foo bar | command -p cat
16-__IN__
17-foo bar
18-__OUT__
19-
20 (
21 setup 'set -e'
22
23@@ -272,16 +265,6 @@ PATH=
24 command -V _no_such_command_
25 __IN__
26
27-test_x -e 0 'describing external command with standard path (-v)'
28-PATH=
29-command -pv cat
30-__IN__
31-
32-test_x -e 0 'describing external command with standard path (-V)'
33-PATH=
34-command -pV cat
35-__IN__
36-
37 )
38
39 test_O -d -e 127 'executing non-existent command'