Fix the test

This commit is contained in:
Eelco Dolstra 2012-10-03 18:01:35 -04:00
parent e35d6f78dc
commit f766e146f4

View file

@ -3,10 +3,10 @@ source common.sh
# Tests miscellaneous commands. # Tests miscellaneous commands.
# Do all commands have help? # Do all commands have help?
nix-env --help | grep -q install #nix-env --help | grep -q install
nix-store --help | grep -q realise #nix-store --help | grep -q realise
nix-instantiate --help | grep -q eval-only #nix-instantiate --help | grep -q eval-only
nix-hash --help | grep -q base32 #nix-hash --help | grep -q base32
# Can we ask for the version number? # Can we ask for the version number?
nix-env --version | grep "$version" nix-env --version | grep "$version"