From ee8f15930d9b2fb31b0125aac3ccd9a92d04c556 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 15 Jun 2008 15:10:03 +0000 Subject: [PATCH] * Test instrumentation. --- tests/user-envs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/user-envs.sh b/tests/user-envs.sh index edb6da0bf..647223ef8 100644 --- a/tests/user-envs.sh +++ b/tests/user-envs.sh @@ -66,6 +66,7 @@ $nixenv -p $profiles/test -q '*' | grep -q foo-2.0 if $nixenv -p $profiles/test -q '*' | grep -q bar; then false; fi # Count generations. +$nixenv -p $profiles/test --list-generations test "$($nixenv -p $profiles/test --list-generations | wc -l)" -eq 5 # Install foo-1.0, now using its store path.