mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
* More tests.
This commit is contained in:
parent
ddb78dfc3d
commit
f0d6318dd1
2 changed files with 10 additions and 1 deletions
|
@ -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