mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
Make nix-shell.sh functional test debuggable
Without this change, when one runs wit with `meson test --interactive`, that command will block waiting on standard input to be closed.
This commit is contained in:
parent
c72f3dc27e
commit
ab58d2720c
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ cat >"$TEST_ROOT"/marco/polo/default.nix <<EOF
|
|||
(import $TEST_ROOT/lookup-test/shell.nix {}).polo
|
||||
EOF
|
||||
chmod a+x "$TEST_ROOT"/marco/polo/default.nix
|
||||
(cd "$TEST_ROOT"/marco && ./polo/default.nix | grepQuiet "Polo")
|
||||
(cd "$TEST_ROOT"/marco && ./polo/default.nix < /dev/null | grepQuiet "Polo")
|
||||
|
||||
# https://github.com/NixOS/nix/issues/11892
|
||||
mkdir "$TEST_ROOT"/issue-11892
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue