about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-22T14·02+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-22T14·02+0000
commitf0d6318dd1227dff81b84d62796371904e5c5b5f (patch)
treebc995fbd4971b03904a7fa0337dcdc29b27dd417
parentddb78dfc3d209f96101da242f90e5031918af355 (diff)
* More tests.
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/misc.sh8
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c120a4464377..933da520b460 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -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 =
 
diff --git a/tests/misc.sh b/tests/misc.sh
new file mode 100644
index 000000000000..d865df8ddeb6
--- /dev/null
+++ b/tests/misc.sh
@@ -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
+