summary refs log tree commit diff
path: root/bin/1sh/tests/execution/redir7.0
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-09 04:03:18 -0400
committerJune McEnroe <june@causal.agency>2020-03-09 04:03:18 -0400
commit25417843af4872fc58ea6d8edc0c0713a6337bde (patch)
treec9885a49e3961c510eef155515aeb11374c24e30 /bin/1sh/tests/execution/redir7.0
parentImport /usr/src/bin/sh from FreeBSD 12.1-RELEASE (diff)
downloadsrc-25417843af4872fc58ea6d8edc0c0713a6337bde.tar.gz
src-25417843af4872fc58ea6d8edc0c0713a6337bde.zip
Remove extraneous files from sh sources
Diffstat (limited to 'bin/1sh/tests/execution/redir7.0')
-rw-r--r--bin/1sh/tests/execution/redir7.021
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/1sh/tests/execution/redir7.0 b/bin/1sh/tests/execution/redir7.0
deleted file mode 100644
index f47c9db8..00000000
--- a/bin/1sh/tests/execution/redir7.0
+++ /dev/null
@@ -1,21 +0,0 @@
-# $FreeBSD: releng/12.1/bin/sh/tests/execution/redir7.0 220978 2011-04-23 22:28:56Z jilles $
-
-failures=0
-
-check() {
-	if [ "$2" != "$3" ]; then
-		echo "Failure at $1" >&2
-		failures=$((failures + 1))
-	fi
-}
-
-check $LINENO "$(trap "echo bye" EXIT; f() { :; }; f >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; f() { :; }; { f; } >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; f() { :; }; (f) >/dev/null)" bye
-check $LINENO "$(trap "echo bye" EXIT; f() { :; }; (f >/dev/null))" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; f() { :; }; f >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; f() { :; }; { f; } >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; f() { :; }; (f) >/dev/null')" bye
-check $LINENO "$(${SH} -c 'trap "echo bye" EXIT; f() { :; }; (f >/dev/null)')" bye
-
-exit $((failures > 0))
'>Prefer tag matches not preceded by [[:alnum:]]June McEnroe Otherwise the "id" in "void" matches for "void id". 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe These don't really go together, but... 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe Otherwise it ends up going into Shell state. 2021-01-18Allow matching lexers using first input lineJune McEnroe