summary refs log tree commit diff
path: root/bin/1sh/tests/errors/redirection-error2.2
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/1sh/tests/errors/redirection-error2.24
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/1sh/tests/errors/redirection-error2.2 b/bin/1sh/tests/errors/redirection-error2.2
new file mode 100644
index 00000000..a81406f4
--- /dev/null
+++ b/bin/1sh/tests/errors/redirection-error2.2
@@ -0,0 +1,4 @@
+# $FreeBSD: releng/12.1/bin/sh/tests/errors/redirection-error2.2 213738 2010-10-12 18:20:38Z obrien $
+
+# sh should fail gracefully on this bad redirect
+${SH} -c 'echo 1 >&$a' 2>/dev/null
6:51:14 -0400'>2017-08-26Add meta.c to READMEJune McEnroe 2017-08-26Use MakefileJune McEnroe017-07-30 19:24:58 -0400'>2017-07-30Add snapshot.shJune McEnroe 2017-07-30Fix termcap patch for background colorsJune McEnroe 2017-07-30Update helpJune McEnroe 2017-07-30Fix help to track colorJune McEnroe 2017-07-30Support background colorsJune McEnroe 2017-07-30Track color only client-sideJune McEnroe 2017-07-30Add ostensible support for background colorsJune McEnroe 2017-07-30Add tile create and access timestampsJune McEnroe 2017-07-30Assert stable struct Tile field offsetsJune McEnroe 2017-07-30Add chroot.shJune McEnroe 2017-07-30Add ` commandJune McEnroe 2017-07-30Add sshd_configJune McEnroe 2017-07-30Add termcap patchJune McEnroe