summary refs log tree commit diff
path: root/bin/cash/tests/builtins/command11.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cash/tests/builtins/command11.0')
-rw-r--r--bin/cash/tests/builtins/command11.014
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/cash/tests/builtins/command11.0 b/bin/cash/tests/builtins/command11.0
new file mode 100644
index 00000000..35941fa1
--- /dev/null
+++ b/bin/cash/tests/builtins/command11.0
@@ -0,0 +1,14 @@
+# $FreeBSD: releng/12.0/bin/sh/tests/builtins/command11.0 205154 2010-03-14 14:24:35Z jilles $
+
+failures=0
+
+check() {
+	if ! eval "[ $* ]"; then
+		echo "Failed: $*"
+		: $((failures += 1))
+	fi
+}
+
+check '"$({ command eval \{ shift x\; \} 2\>/dev/null; } >/dev/null; echo hi)" = hi'
+
+exit $((failures > 0))
/a>June McEnroe 2020-10-23Set shell scripts executable in buildJune McEnroe 2020-10-20Humanize milliseconds if interval is less than 1sJune McEnroe The intervals are configurable in milliseconds so humanize should be able to display at that precision. 2020-10-20Humanize restart intervalJune McEnroe 2020-08-17Document default catsit.conf location on OpenBSD 1.0June McEnroe 2020-08-17Template catsit script with RUNDIRJune McEnroe 2020-08-17Clean up includesJune McEnroe 2020-08-17Log service uptime in statusJune McEnroe