summaryrefslogtreecommitdiff
path: root/unit-tests/shell-custom.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/shell-custom.mk')
-rw-r--r--unit-tests/shell-custom.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/unit-tests/shell-custom.mk b/unit-tests/shell-custom.mk
new file mode 100644
index 0000000000000..9edbc75bb9cd4
--- /dev/null
+++ b/unit-tests/shell-custom.mk
@@ -0,0 +1,14 @@
+# $NetBSD: shell-custom.mk,v 1.1 2020/10/03 14:39:36 rillig Exp $
+#
+# Tests for using a custom shell for running the commands.
+
+.SHELL: name="sh" path="echo"
+# TODO: demonstrate the other shell features as well:
+# - error control
+# - output control
+
+all:
+ : normal
+ @: hidden
+ +: always
+ -: ignore errors