diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 12:15:33 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-03-01 12:15:33 +0000 |
commit | a4c63c6e8e161d55778b797e566d9eca7c47f34f (patch) | |
tree | 9caaa0d38d12836f5de88b41aecff988b8ff9472 /tests/misc.sh | |
parent | 85793fa438847974330123a8d4160283fcfa18f7 (diff) |
* Make it easy to run individual tests from the command line.
Diffstat (limited to 'tests/misc.sh')
-rw-r--r-- | tests/misc.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc.sh b/tests/misc.sh index d865df8dd..2220ea18c 100644 --- a/tests/misc.sh +++ b/tests/misc.sh @@ -1,3 +1,5 @@ +source common.sh + # Tests miscellaneous commands. # Do all commands have help? @@ -6,3 +8,5 @@ $TOP/src/nix-store/nix-store --help | grep -q realise $TOP/src/nix-instantiate/nix-instantiate --help | grep -q eval-only $TOP/src/nix-hash/nix-hash --help | grep -q base32 +# Can we ask for the version number? +$TOP/src/nix-env/nix-env --version | grep "$version" |