forked from lix-project/lix
* More tests.
This commit is contained in:
parent
ddb78dfc3d
commit
f0d6318dd1
|
@ -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
8
tests/misc.sh
Normal 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
|
||||
|
Loading…
Reference in a new issue