summary refs log tree commit diff
path: root/bin/cash/tests/parser/heredoc12.0
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-10 20:19:51 -0500
committerJune McEnroe <june@causal.agency>2019-01-10 20:19:51 -0500
commit9beeb46022fc1e0c6bc6bec029bb949df10a2c3d (patch)
tree7db75dd126879bea3f0d8762b2619e0bebcf2836 /bin/cash/tests/parser/heredoc12.0
parentRemove funcs (diff)
downloadsrc-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.tar.gz
src-9beeb46022fc1e0c6bc6bec029bb949df10a2c3d.zip
Remove cash/tests
Diffstat (limited to 'bin/cash/tests/parser/heredoc12.0')
-rw-r--r--bin/cash/tests/parser/heredoc12.047
1 files changed, 0 insertions, 47 deletions
diff --git a/bin/cash/tests/parser/heredoc12.0 b/bin/cash/tests/parser/heredoc12.0
deleted file mode 100644
index 80714390..00000000
--- a/bin/cash/tests/parser/heredoc12.0
+++ /dev/null
@@ -1,47 +0,0 @@
-# $FreeBSD: releng/12.0/bin/sh/tests/parser/heredoc12.0 271593 2014-09-14 16:46:30Z jilles $
-
-failures=0
-
-check() {
-	if ! eval "[ $* ]"; then
-		echo "Failed: $*"
-		: $((failures += 1))
-	fi
-}
-
-longmark=`printf %01000d 4`
-longmarkstripped=`printf %0999d 0`
-
-check '"$(cat <<'"$longmark
-$longmark"'
-echo yes)" = "yes"'
-
-check '"$(cat <<\'"$longmark
-$longmark"'
-echo yes)" = "yes"'
-
-check '"$(cat <<'"$longmark
-yes
-$longmark"'
-)" = "yes"'
-
-check '"$(cat <<\'"$longmark
-yes
-$longmark"'
-)" = "yes"'
-
-check '"$(cat <<'"$longmark
-$longmarkstripped
-$longmark.
-$longmark"'
-)" = "'"$longmarkstripped
-$longmark."'"'
-
-check '"$(cat <<\'"$longmark
-$longmarkstripped
-$longmark.
-$longmark"'
-)" = "'"$longmarkstripped
-$longmark."'"'
-
-exit $((failures != 0))