mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
shellcheck fix: tests/functional/user-envs.sh
This commit is contained in:
parent
13eac5295d
commit
c8ef6dfa5a
2 changed files with 1 additions and 2 deletions
|
|
@ -106,7 +106,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = [
|
excludes = [
|
||||||
# We haven't linted these files yet
|
# We haven't linted these files yet
|
||||||
''^tests/functional/user-envs\.sh$''
|
|
||||||
''^tests/functional/why-depends\.sh$''
|
''^tests/functional/why-depends\.sh$''
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@ test -e "$outPath10"
|
||||||
|
|
||||||
# Uninstall everything
|
# Uninstall everything
|
||||||
nix-env -e '*'
|
nix-env -e '*'
|
||||||
test "$(nix-env -q '*' -c)" -eq 0
|
test "$(nix-env -q '*' | wc -l)" -eq 0
|
||||||
|
|
||||||
# Installing "foo" should only install the newest foo.
|
# Installing "foo" should only install the newest foo.
|
||||||
nix-env -i foo
|
nix-env -i foo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue