summary refs log tree commit diff
path: root/bin/1sh/tests/execution/set-n1.0
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/execution/set-n1.07
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/1sh/tests/execution/set-n1.0 b/bin/1sh/tests/execution/set-n1.0
new file mode 100644
index 00000000..19afbda3
--- /dev/null
+++ b/bin/1sh/tests/execution/set-n1.0
@@ -0,0 +1,7 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/execution/set-n1.0 222661 2011-06-03 21:17:42Z jilles $
+
+v=$( ($SH -n <<'EOF'
+for
+EOF
+) 2>&1 >/dev/null)
+[ $? -ne 0 ] && [ -n "$v" ]
-09 17:08:51 -0400'>2017-07-09Add Tarmak 2 to console keymapJune McEnroe 2017-07-04Remove pathogenJune McEnroe 2017-07-04Consolidate pbd, pbcopy, pbpasteJune McEnroe 2017-07-04Reorganize neovim configuration, againJune McEnroe 2017-07-04Remove <Esc><Esc> terminal mappingJune McEnroe 2017-07-04Generalize C-w neovim terminal mappingJune McEnroe 2017-07-04Remove tmuxJune McEnroe 2017-07-04Show terminal title in statuslineJune McEnroe 2017-07-04Add nvim terminal mappingsJune McEnroe 2017-06-29Add color to xxJune McEnroe 2017-06-28Set tmux copy-mode-vi bindings for TarmakJune McEnroe 2017-06-27Link Scala syntax fileJune McEnroe 2017-06-27Clean up top of trivial colorscheme fileJune McEnroe 2017-06-27Fix Scala syntax highlight linksJune McEnroe