From 58bbcf95ef87d5b5f5150bd567278a9b35512f35 Mon Sep 17 00:00:00 2001 From: Stefan Farfeleder Date: Wed, 30 Jul 2008 21:18:52 +0000 Subject: [PATCH] Add a regression test for r181017. Submitted by: simon --- tools/regression/bin/sh/errors/redirection-error2.2 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/regression/bin/sh/errors/redirection-error2.2 diff --git a/tools/regression/bin/sh/errors/redirection-error2.2 b/tools/regression/bin/sh/errors/redirection-error2.2 new file mode 100644 index 000000000000..2117ecf07700 --- /dev/null +++ b/tools/regression/bin/sh/errors/redirection-error2.2 @@ -0,0 +1,4 @@ +# $FreeBSD$ + +# sh should fail gracefully on this bad redirect +sh -c 'echo 1 >&$a' 2>/dev/null