mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Close stdin while running tests
For some reason, the bash shell started by 'nix develop' sometimes
reads from stdin, which can hang.
(cherry picked from commit 50a8710ed1
)
This commit is contained in:
parent
1a3956cceb
commit
522243fb26
@ -8,7 +8,7 @@ define run-install-test
|
||||
|
||||
.PHONY: $1.test
|
||||
$1.test: $1 $(test-deps)
|
||||
@env TEST_NAME=$(notdir $(basename $1)) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1
|
||||
@env TEST_NAME=$(notdir $(basename $1)) TESTS_ENVIRONMENT="$(tests-environment)" mk/run_test.sh $1 < /dev/null
|
||||
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user