1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-13 17:10:47 +02:00

Add basic tests for 'nix profile'

Fixes #6193.
This commit is contained in:
Eelco Dolstra 2022-03-02 11:46:24 +01:00
parent b39ef07414
commit 5850fd17b4
3 changed files with 70 additions and 2 deletions

View file

@ -9,7 +9,6 @@ clearProfiles
# Query installed: should be empty.
test "$(nix-env -p $profiles/test -q '*' | wc -l)" -eq 0
mkdir -p $TEST_HOME
nix-env --switch-profile $profiles/test
# Query available: should contain several.