about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/user-envs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user-envs.sh b/tests/user-envs.sh
index 8d5756f77d72..b8df8c37355c 100644
--- a/tests/user-envs.sh
+++ b/tests/user-envs.sh
@@ -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