about summary refs log tree commit diff
path: root/tests/misc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc.sh')
-rw-r--r--tests/misc.sh8
1 files changed, 8 insertions, 0 deletions
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
+