This commit is contained in:
Eelco Dolstra 2006-03-10 16:14:30 +00:00
parent 2b3b6c9b34
commit a33fb2d287

View file

@ -3,7 +3,7 @@ source common.sh
profiles="$NIX_STATE_DIR"/profiles
# Query installed: should be empty.
test "$($nixenv -p $profiles/test -q | wc -l)" -eq 0
test "$($nixenv -p $profiles/test -q '*' | wc -l)" -eq 0
# Query available: should contain several.
test "$($nixenv -p $profiles/test -f ./user-envs.nix -qa '*' | wc -l)" -eq 5