Skip to content

Commit

Permalink
Make test case more precise
Browse files Browse the repository at this point in the history
Co-authored-by: Théophane Hufschmitt <regnat@users.noreply.github.com>
  • Loading branch information
Kha and Théophane Hufschmitt committed Nov 9, 2020
1 parent 4f14917 commit e3fe5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/nix-shell.sh
Expand Up @@ -58,7 +58,7 @@ output=$($TEST_ROOT/shell.shebang.rb abc ruby)

# Test 'nix develop'.
nix develop -f shell.nix shellDrv -c bash -c '[[ -n $stdenv ]]'
echo foo | nix develop -f shell.nix shellDrv -c cat # preserve stdin with `-c`
echo foo | nix develop -f shell.nix shellDrv -c cat # preserve stdin with `-c` | grep -q foo

# Test 'nix print-dev-env'.
source <(nix print-dev-env -f shell.nix shellDrv)
Expand Down

0 comments on commit e3fe5c6

Please sign in to comment.