* More tests.

This commit is contained in:
Eelco Dolstra 2006-02-22 14:02:44 +00:00
parent ddb78dfc3d
commit f0d6318dd1
2 changed files with 10 additions and 1 deletions

View File

@ -22,6 +22,7 @@ TESTS_ENVIRONMENT = TEST_ROOT=$(TEST_ROOT) \
TOP=$(shell pwd)/.. \
SHARED=$(extra1) \
aterm_bin=$(aterm_bin) \
dot=$(dot) \
$(SHELL) -e
simple.sh: simple.nix
@ -40,7 +41,7 @@ user-envs.sh: user-envs.nix
TESTS = init.sh hash.sh lang.sh simple.sh dependencies.sh locking.sh parallel.sh \
build-hook.sh substitutes.sh substitutes2.sh fallback.sh nix-push.sh gc.sh \
gc-concurrent.sh verify.sh nix-pull.sh referrers.sh user-envs.sh
gc-concurrent.sh verify.sh nix-pull.sh referrers.sh user-envs.sh misc.sh
XFAIL_TESTS =

8
tests/misc.sh Normal file
View File

@ -0,0 +1,8 @@
# Tests miscellaneous commands.
# Do all commands have help?
$TOP/src/nix-env/nix-env --help | grep -q install
$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