Skip to content

Commit 122484a

Browse files
pcmooreWOnder93
authored andcommitted
tests: don't override PATH variable when running tests
I have a test system that requires a PATH different than what is embedded into the test suite's Makefile. While there is perhaps some risk in using the caller's PATH in the test suite, given that this is a test suite I expect that the caller would be aware of such risks. Signed-off-by: Paul Moore <[email protected]> [OM: tweaked the subject line] Signed-off-by: Ondrej Mosnacek <[email protected]>
1 parent 832fccf commit 122484a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ all:
184184

185185
test: all
186186
chcon -R -t test_file_t .
187-
@SUBDIRS="$(SUBDIRS)" PATH=/usr/bin:/bin:/usr/sbin:/sbin ./runtests.pl
187+
@SUBDIRS="$(SUBDIRS)" ./runtests.pl
188188

189189
clean:
190190
@for subdir in $(SUBDIRS); do \

0 commit comments

Comments
 (0)