aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/parser
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/tests/parser')
-rw-r--r--bin/sh/tests/parser/Makefile2
-rw-r--r--bin/sh/tests/parser/Makefile.depend1
-rw-r--r--bin/sh/tests/parser/alias1.01
-rw-r--r--bin/sh/tests/parser/alias10.01
-rw-r--r--bin/sh/tests/parser/alias11.01
-rw-r--r--bin/sh/tests/parser/alias12.01
-rw-r--r--bin/sh/tests/parser/alias13.01
-rw-r--r--bin/sh/tests/parser/alias14.01
-rw-r--r--bin/sh/tests/parser/alias15.01
-rw-r--r--bin/sh/tests/parser/alias16.01
-rw-r--r--bin/sh/tests/parser/alias17.01
-rw-r--r--bin/sh/tests/parser/alias18.01
-rw-r--r--bin/sh/tests/parser/alias19.01
-rw-r--r--bin/sh/tests/parser/alias2.01
-rw-r--r--bin/sh/tests/parser/alias20.01
-rw-r--r--bin/sh/tests/parser/alias3.01
-rw-r--r--bin/sh/tests/parser/alias4.01
-rw-r--r--bin/sh/tests/parser/alias5.01
-rw-r--r--bin/sh/tests/parser/alias6.01
-rw-r--r--bin/sh/tests/parser/alias7.01
-rw-r--r--bin/sh/tests/parser/alias8.01
-rw-r--r--bin/sh/tests/parser/alias9.01
-rw-r--r--bin/sh/tests/parser/and-pipe-not.01
-rw-r--r--bin/sh/tests/parser/case1.01
-rw-r--r--bin/sh/tests/parser/case2.01
-rw-r--r--bin/sh/tests/parser/comment1.01
-rw-r--r--bin/sh/tests/parser/comment2.421
-rw-r--r--bin/sh/tests/parser/dollar-quote1.01
-rw-r--r--bin/sh/tests/parser/dollar-quote10.01
-rw-r--r--bin/sh/tests/parser/dollar-quote11.01
-rw-r--r--bin/sh/tests/parser/dollar-quote12.01
-rw-r--r--bin/sh/tests/parser/dollar-quote13.01
-rw-r--r--bin/sh/tests/parser/dollar-quote2.01
-rw-r--r--bin/sh/tests/parser/dollar-quote3.01
-rw-r--r--bin/sh/tests/parser/dollar-quote4.01
-rw-r--r--bin/sh/tests/parser/dollar-quote5.01
-rw-r--r--bin/sh/tests/parser/dollar-quote6.01
-rw-r--r--bin/sh/tests/parser/dollar-quote7.01
-rw-r--r--bin/sh/tests/parser/dollar-quote8.01
-rw-r--r--bin/sh/tests/parser/dollar-quote9.01
-rw-r--r--bin/sh/tests/parser/empty-braces1.01
-rw-r--r--bin/sh/tests/parser/empty-cmd1.01
-rw-r--r--bin/sh/tests/parser/for1.01
-rw-r--r--bin/sh/tests/parser/for2.01
-rw-r--r--bin/sh/tests/parser/func1.01
-rw-r--r--bin/sh/tests/parser/func2.01
-rw-r--r--bin/sh/tests/parser/func3.01
-rw-r--r--bin/sh/tests/parser/heredoc1.01
-rw-r--r--bin/sh/tests/parser/heredoc10.01
-rw-r--r--bin/sh/tests/parser/heredoc11.01
-rw-r--r--bin/sh/tests/parser/heredoc12.01
-rw-r--r--bin/sh/tests/parser/heredoc13.01
-rw-r--r--bin/sh/tests/parser/heredoc2.01
-rw-r--r--bin/sh/tests/parser/heredoc3.01
-rw-r--r--bin/sh/tests/parser/heredoc4.01
-rw-r--r--bin/sh/tests/parser/heredoc5.01
-rw-r--r--bin/sh/tests/parser/heredoc6.01
-rw-r--r--bin/sh/tests/parser/heredoc7.01
-rw-r--r--bin/sh/tests/parser/heredoc8.01
-rw-r--r--bin/sh/tests/parser/heredoc9.01
-rw-r--r--bin/sh/tests/parser/line-cont1.01
-rw-r--r--bin/sh/tests/parser/line-cont10.01
-rw-r--r--bin/sh/tests/parser/line-cont11.01
-rw-r--r--bin/sh/tests/parser/line-cont12.01
-rw-r--r--bin/sh/tests/parser/line-cont2.01
-rw-r--r--bin/sh/tests/parser/line-cont3.01
-rw-r--r--bin/sh/tests/parser/line-cont4.01
-rw-r--r--bin/sh/tests/parser/line-cont5.01
-rw-r--r--bin/sh/tests/parser/line-cont6.01
-rw-r--r--bin/sh/tests/parser/line-cont7.01
-rw-r--r--bin/sh/tests/parser/line-cont8.01
-rw-r--r--bin/sh/tests/parser/line-cont9.01
-rw-r--r--bin/sh/tests/parser/no-space1.01
-rw-r--r--bin/sh/tests/parser/no-space2.01
-rw-r--r--bin/sh/tests/parser/nul1.01
-rw-r--r--bin/sh/tests/parser/only-redir1.01
-rw-r--r--bin/sh/tests/parser/only-redir2.01
-rw-r--r--bin/sh/tests/parser/only-redir3.01
-rw-r--r--bin/sh/tests/parser/only-redir4.01
-rw-r--r--bin/sh/tests/parser/pipe-not1.01
-rw-r--r--bin/sh/tests/parser/set-v1.01
-rw-r--r--bin/sh/tests/parser/var-assign1.01
82 files changed, 0 insertions, 83 deletions
diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile
index 3239f5bccd84..afeb604710e4 100644
--- a/bin/sh/tests/parser/Makefile
+++ b/bin/sh/tests/parser/Makefile
@@ -1,5 +1,3 @@
-# $FreeBSD$
-
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
diff --git a/bin/sh/tests/parser/Makefile.depend b/bin/sh/tests/parser/Makefile.depend
index f80275d86ab1..11aba52f82cf 100644
--- a/bin/sh/tests/parser/Makefile.depend
+++ b/bin/sh/tests/parser/Makefile.depend
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Autogenerated - do NOT edit!
DIRDEPS = \
diff --git a/bin/sh/tests/parser/alias1.0 b/bin/sh/tests/parser/alias1.0
index 75dd9ab9b8f1..2380bb95e449 100644
--- a/bin/sh/tests/parser/alias1.0
+++ b/bin/sh/tests/parser/alias1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=exit
eval 'alias0 0'
diff --git a/bin/sh/tests/parser/alias10.0 b/bin/sh/tests/parser/alias10.0
index 30d99f49bbf4..d8c77691b2b8 100644
--- a/bin/sh/tests/parser/alias10.0
+++ b/bin/sh/tests/parser/alias10.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This test may start consuming memory indefinitely if it fails.
ulimit -t 5 2>/dev/null
diff --git a/bin/sh/tests/parser/alias11.0 b/bin/sh/tests/parser/alias11.0
index 522264ff823f..286323028a2c 100644
--- a/bin/sh/tests/parser/alias11.0
+++ b/bin/sh/tests/parser/alias11.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=alias1
alias alias1=exit
diff --git a/bin/sh/tests/parser/alias12.0 b/bin/sh/tests/parser/alias12.0
index 2e4379155d4a..30be135c0cd1 100644
--- a/bin/sh/tests/parser/alias12.0
+++ b/bin/sh/tests/parser/alias12.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
unalias -a
alias alias0=command
diff --git a/bin/sh/tests/parser/alias13.0 b/bin/sh/tests/parser/alias13.0
index 53b949dc23e9..df35c5045aa5 100644
--- a/bin/sh/tests/parser/alias13.0
+++ b/bin/sh/tests/parser/alias13.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
unalias -a
alias command=command
diff --git a/bin/sh/tests/parser/alias14.0 b/bin/sh/tests/parser/alias14.0
index 1b92fc07d5b2..20acd59d4d4c 100644
--- a/bin/sh/tests/parser/alias14.0
+++ b/bin/sh/tests/parser/alias14.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias command='command '
alias alias0=exit
diff --git a/bin/sh/tests/parser/alias15.0 b/bin/sh/tests/parser/alias15.0
index f0fbadbb20e7..19a1a36eaaff 100644
--- a/bin/sh/tests/parser/alias15.0
+++ b/bin/sh/tests/parser/alias15.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
f_echoanddo() {
printf '%s\n' "$*"
diff --git a/bin/sh/tests/parser/alias16.0 b/bin/sh/tests/parser/alias16.0
index 2df9c254e57d..b611c69ab04f 100644
--- a/bin/sh/tests/parser/alias16.0
+++ b/bin/sh/tests/parser/alias16.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=1
alias a='unalias a
diff --git a/bin/sh/tests/parser/alias17.0 b/bin/sh/tests/parser/alias17.0
index 005eeb72dee4..c2e24c68aa5f 100644
--- a/bin/sh/tests/parser/alias17.0
+++ b/bin/sh/tests/parser/alias17.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=1
alias a='unalias -a
diff --git a/bin/sh/tests/parser/alias18.0 b/bin/sh/tests/parser/alias18.0
index 74234fe72c05..05117c5a830f 100644
--- a/bin/sh/tests/parser/alias18.0
+++ b/bin/sh/tests/parser/alias18.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=1
alias a='alias a=v=2
diff --git a/bin/sh/tests/parser/alias19.0 b/bin/sh/tests/parser/alias19.0
index d086f652fea5..c35930e9835d 100644
--- a/bin/sh/tests/parser/alias19.0
+++ b/bin/sh/tests/parser/alias19.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias begin={ end=}
begin
diff --git a/bin/sh/tests/parser/alias2.0 b/bin/sh/tests/parser/alias2.0
index ae99b8a588c2..e92d62eaefdc 100644
--- a/bin/sh/tests/parser/alias2.0
+++ b/bin/sh/tests/parser/alias2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=exit
x=alias0
diff --git a/bin/sh/tests/parser/alias20.0 b/bin/sh/tests/parser/alias20.0
index 0eedd5214016..7e1767eaccd8 100644
--- a/bin/sh/tests/parser/alias20.0
+++ b/bin/sh/tests/parser/alias20.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias begin={ end=}
: <<EOF &&
diff --git a/bin/sh/tests/parser/alias3.0 b/bin/sh/tests/parser/alias3.0
index e0721e2aaa01..4651ba149c60 100644
--- a/bin/sh/tests/parser/alias3.0
+++ b/bin/sh/tests/parser/alias3.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=exit
x=alias0
diff --git a/bin/sh/tests/parser/alias4.0 b/bin/sh/tests/parser/alias4.0
index 19332ed09056..a46923d1ebdd 100644
--- a/bin/sh/tests/parser/alias4.0
+++ b/bin/sh/tests/parser/alias4.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=exit
eval 'x=1 alias0 0'
diff --git a/bin/sh/tests/parser/alias5.0 b/bin/sh/tests/parser/alias5.0
index 3d0205fd2332..4c393cd116d9 100644
--- a/bin/sh/tests/parser/alias5.0
+++ b/bin/sh/tests/parser/alias5.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=exit
eval '</dev/null alias0 0'
diff --git a/bin/sh/tests/parser/alias6.0 b/bin/sh/tests/parser/alias6.0
index c723d08ab3eb..23c3d39de002 100644
--- a/bin/sh/tests/parser/alias6.0
+++ b/bin/sh/tests/parser/alias6.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0='| cat >/dev/null'
diff --git a/bin/sh/tests/parser/alias7.0 b/bin/sh/tests/parser/alias7.0
index b26f0dd067cd..f644ceaa7abd 100644
--- a/bin/sh/tests/parser/alias7.0
+++ b/bin/sh/tests/parser/alias7.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias echo='echo a'
[ "`eval echo b`" = "a b" ]
diff --git a/bin/sh/tests/parser/alias8.0 b/bin/sh/tests/parser/alias8.0
index 7fc2f15f0931..c71997f362cf 100644
--- a/bin/sh/tests/parser/alias8.0
+++ b/bin/sh/tests/parser/alias8.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias echo='echo'
[ "`eval echo b`" = b ]
diff --git a/bin/sh/tests/parser/alias9.0 b/bin/sh/tests/parser/alias9.0
index 6bd8808cc379..50fe86e2b8fd 100644
--- a/bin/sh/tests/parser/alias9.0
+++ b/bin/sh/tests/parser/alias9.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
alias alias0=:
alias alias0=exit
diff --git a/bin/sh/tests/parser/and-pipe-not.0 b/bin/sh/tests/parser/and-pipe-not.0
index 35b125c14767..90889bfe62f6 100644
--- a/bin/sh/tests/parser/and-pipe-not.0
+++ b/bin/sh/tests/parser/and-pipe-not.0
@@ -1,2 +1 @@
-# $FreeBSD$
true && ! true | false
diff --git a/bin/sh/tests/parser/case1.0 b/bin/sh/tests/parser/case1.0
index 49b4c45155fa..8b4e1c342a68 100644
--- a/bin/sh/tests/parser/case1.0
+++ b/bin/sh/tests/parser/case1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
keywords='if then else elif fi while until for do done { } case esac ! in'
diff --git a/bin/sh/tests/parser/case2.0 b/bin/sh/tests/parser/case2.0
index 14610e415c19..578187a5a320 100644
--- a/bin/sh/tests/parser/case2.0
+++ b/bin/sh/tests/parser/case2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Pretty much only ash derivatives can parse all of this.
diff --git a/bin/sh/tests/parser/comment1.0 b/bin/sh/tests/parser/comment1.0
index 21e7ade957bc..59904fb98ced 100644
--- a/bin/sh/tests/parser/comment1.0
+++ b/bin/sh/tests/parser/comment1.0
@@ -1,3 +1,2 @@
-# $FreeBSD$
${SH} -c '#'
diff --git a/bin/sh/tests/parser/comment2.42 b/bin/sh/tests/parser/comment2.42
index 196b73354493..30ab4c4d1df5 100644
--- a/bin/sh/tests/parser/comment2.42
+++ b/bin/sh/tests/parser/comment2.42
@@ -1,4 +1,3 @@
-# $FreeBSD$
${SH} -c '#
exit 42'
diff --git a/bin/sh/tests/parser/dollar-quote1.0 b/bin/sh/tests/parser/dollar-quote1.0
index 12061417e108..2862b8a20b09 100644
--- a/bin/sh/tests/parser/dollar-quote1.0
+++ b/bin/sh/tests/parser/dollar-quote1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
set -e
diff --git a/bin/sh/tests/parser/dollar-quote10.0 b/bin/sh/tests/parser/dollar-quote10.0
index ad166da23ffe..e28ea482ac23 100644
--- a/bin/sh/tests/parser/dollar-quote10.0
+++ b/bin/sh/tests/parser/dollar-quote10.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# a umlaut
s=$(printf '\303\244')
diff --git a/bin/sh/tests/parser/dollar-quote11.0 b/bin/sh/tests/parser/dollar-quote11.0
index 2e872abfe5b0..de567ebeed43 100644
--- a/bin/sh/tests/parser/dollar-quote11.0
+++ b/bin/sh/tests/parser/dollar-quote11.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# some sort of 't' outside BMP
s=$s$(printf '\360\235\225\245')
diff --git a/bin/sh/tests/parser/dollar-quote12.0 b/bin/sh/tests/parser/dollar-quote12.0
index 838e27cda706..a6207d29a2ba 100644
--- a/bin/sh/tests/parser/dollar-quote12.0
+++ b/bin/sh/tests/parser/dollar-quote12.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# \u without any digits at all remains invalid.
# Our choice is a parse error.
diff --git a/bin/sh/tests/parser/dollar-quote13.0 b/bin/sh/tests/parser/dollar-quote13.0
index 2247da7abbc9..d042ad741646 100644
--- a/bin/sh/tests/parser/dollar-quote13.0
+++ b/bin/sh/tests/parser/dollar-quote13.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This Unicode escape sequence that has never been in range should either
# fail to expand or expand to a fallback.
diff --git a/bin/sh/tests/parser/dollar-quote2.0 b/bin/sh/tests/parser/dollar-quote2.0
index 4617ed8d9086..87a1b39a62ba 100644
--- a/bin/sh/tests/parser/dollar-quote2.0
+++ b/bin/sh/tests/parser/dollar-quote2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This depends on the ASCII character set.
diff --git a/bin/sh/tests/parser/dollar-quote3.0 b/bin/sh/tests/parser/dollar-quote3.0
index a7e68527791c..9ac5afb6d2bc 100644
--- a/bin/sh/tests/parser/dollar-quote3.0
+++ b/bin/sh/tests/parser/dollar-quote3.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
unset LC_ALL
LC_CTYPE=en_US.ISO8859-1
diff --git a/bin/sh/tests/parser/dollar-quote4.0 b/bin/sh/tests/parser/dollar-quote4.0
index f620af5b12c2..be0de8bbb508 100644
--- a/bin/sh/tests/parser/dollar-quote4.0
+++ b/bin/sh/tests/parser/dollar-quote4.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
unset LC_ALL
LC_CTYPE=en_US.ISO8859-1
diff --git a/bin/sh/tests/parser/dollar-quote5.0 b/bin/sh/tests/parser/dollar-quote5.0
index c2c44ca620e5..2bf6a0ea2183 100644
--- a/bin/sh/tests/parser/dollar-quote5.0
+++ b/bin/sh/tests/parser/dollar-quote5.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This depends on the ASCII character set.
diff --git a/bin/sh/tests/parser/dollar-quote6.0 b/bin/sh/tests/parser/dollar-quote6.0
index a4b1e3f48729..dc6f8ab45cf2 100644
--- a/bin/sh/tests/parser/dollar-quote6.0
+++ b/bin/sh/tests/parser/dollar-quote6.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This depends on the ASCII character set.
diff --git a/bin/sh/tests/parser/dollar-quote7.0 b/bin/sh/tests/parser/dollar-quote7.0
index c866b1af68bb..5108fd4eb146 100644
--- a/bin/sh/tests/parser/dollar-quote7.0
+++ b/bin/sh/tests/parser/dollar-quote7.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
set -e
diff --git a/bin/sh/tests/parser/dollar-quote8.0 b/bin/sh/tests/parser/dollar-quote8.0
index 8f0b41a0a3f7..81dcb9b394f7 100644
--- a/bin/sh/tests/parser/dollar-quote8.0
+++ b/bin/sh/tests/parser/dollar-quote8.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
[ $'hello\0' = hello ]
[ $'hello\0world' = hello ]
diff --git a/bin/sh/tests/parser/dollar-quote9.0 b/bin/sh/tests/parser/dollar-quote9.0
index df64b7dfc0b1..845f8c284326 100644
--- a/bin/sh/tests/parser/dollar-quote9.0
+++ b/bin/sh/tests/parser/dollar-quote9.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# POSIX and C99 say D800-DFFF are undefined in a universal character name.
# We reject this but many other shells expand to something that looks like
diff --git a/bin/sh/tests/parser/empty-braces1.0 b/bin/sh/tests/parser/empty-braces1.0
index 5ab443c48d8a..11032811c80e 100644
--- a/bin/sh/tests/parser/empty-braces1.0
+++ b/bin/sh/tests/parser/empty-braces1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Unfortunately, some scripts depend on the extension of allowing an empty
# pair of braces.
diff --git a/bin/sh/tests/parser/empty-cmd1.0 b/bin/sh/tests/parser/empty-cmd1.0
index f8b01e9c7997..15f4f4ac995b 100644
--- a/bin/sh/tests/parser/empty-cmd1.0
+++ b/bin/sh/tests/parser/empty-cmd1.0
@@ -1,3 +1,2 @@
-# $FreeBSD$
! (eval ': || f()') 2>/dev/null
diff --git a/bin/sh/tests/parser/for1.0 b/bin/sh/tests/parser/for1.0
index eb7c881237fd..1633385068c2 100644
--- a/bin/sh/tests/parser/for1.0
+++ b/bin/sh/tests/parser/for1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
nl='
'
diff --git a/bin/sh/tests/parser/for2.0 b/bin/sh/tests/parser/for2.0
index 54ebfc3d7193..2dd2d5acd1c3 100644
--- a/bin/sh/tests/parser/for2.0
+++ b/bin/sh/tests/parser/for2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Common extensions to the 'for' syntax.
diff --git a/bin/sh/tests/parser/func1.0 b/bin/sh/tests/parser/func1.0
index 4e887b25f285..93381364aa6c 100644
--- a/bin/sh/tests/parser/func1.0
+++ b/bin/sh/tests/parser/func1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# POSIX does not require these bytes to work in function names,
# but making them all work seems a good goal.
diff --git a/bin/sh/tests/parser/func2.0 b/bin/sh/tests/parser/func2.0
index 5fd4dda8cca9..dc9eb6ed1579 100644
--- a/bin/sh/tests/parser/func2.0
+++ b/bin/sh/tests/parser/func2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
f() { return 42; }
f() { return 3; } &
diff --git a/bin/sh/tests/parser/func3.0 b/bin/sh/tests/parser/func3.0
index dcac7323ad3f..c1462a33c80c 100644
--- a/bin/sh/tests/parser/func3.0
+++ b/bin/sh/tests/parser/func3.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
name=/var/empty/nosuch
f() { true; } <$name
diff --git a/bin/sh/tests/parser/heredoc1.0 b/bin/sh/tests/parser/heredoc1.0
index 5ce38977d7f5..6bfee605633a 100644
--- a/bin/sh/tests/parser/heredoc1.0
+++ b/bin/sh/tests/parser/heredoc1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc10.0 b/bin/sh/tests/parser/heredoc10.0
index 27369a0b1b4c..95e280381bd3 100644
--- a/bin/sh/tests/parser/heredoc10.0
+++ b/bin/sh/tests/parser/heredoc10.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# It may be argued that
# x=$(cat <<EOF
diff --git a/bin/sh/tests/parser/heredoc11.0 b/bin/sh/tests/parser/heredoc11.0
index 5839e46b36ce..71bf7c017df4 100644
--- a/bin/sh/tests/parser/heredoc11.0
+++ b/bin/sh/tests/parser/heredoc11.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=''
diff --git a/bin/sh/tests/parser/heredoc12.0 b/bin/sh/tests/parser/heredoc12.0
index 964838453237..0209a94d5f40 100644
--- a/bin/sh/tests/parser/heredoc12.0
+++ b/bin/sh/tests/parser/heredoc12.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc13.0 b/bin/sh/tests/parser/heredoc13.0
index 225d4f08f492..1a3de0572142 100644
--- a/bin/sh/tests/parser/heredoc13.0
+++ b/bin/sh/tests/parser/heredoc13.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc2.0 b/bin/sh/tests/parser/heredoc2.0
index 4bb85ad80c17..8b936bcb3799 100644
--- a/bin/sh/tests/parser/heredoc2.0
+++ b/bin/sh/tests/parser/heredoc2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc3.0 b/bin/sh/tests/parser/heredoc3.0
index b250272f3319..dabd0650bd56 100644
--- a/bin/sh/tests/parser/heredoc3.0
+++ b/bin/sh/tests/parser/heredoc3.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This may be expected to work, but pretty much only ash derivatives allow it.
diff --git a/bin/sh/tests/parser/heredoc4.0 b/bin/sh/tests/parser/heredoc4.0
index fa3af5fd5a97..46262887d707 100644
--- a/bin/sh/tests/parser/heredoc4.0
+++ b/bin/sh/tests/parser/heredoc4.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc5.0 b/bin/sh/tests/parser/heredoc5.0
index 84b0eb2705d4..a336205acf75 100644
--- a/bin/sh/tests/parser/heredoc5.0
+++ b/bin/sh/tests/parser/heredoc5.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc6.0 b/bin/sh/tests/parser/heredoc6.0
index 3a634de167a7..24570bcfd42f 100644
--- a/bin/sh/tests/parser/heredoc6.0
+++ b/bin/sh/tests/parser/heredoc6.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
r=
! command eval ": <<EOF; )" 2>/dev/null; command eval : hi \${r:=0}
diff --git a/bin/sh/tests/parser/heredoc7.0 b/bin/sh/tests/parser/heredoc7.0
index a15010648780..821e89700389 100644
--- a/bin/sh/tests/parser/heredoc7.0
+++ b/bin/sh/tests/parser/heredoc7.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Some of these created malformed parse trees with null pointers for here
# documents, causing the here document writing process to segfault.
diff --git a/bin/sh/tests/parser/heredoc8.0 b/bin/sh/tests/parser/heredoc8.0
index 598358a0494b..673fc270fa32 100644
--- a/bin/sh/tests/parser/heredoc8.0
+++ b/bin/sh/tests/parser/heredoc8.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
failures=0
diff --git a/bin/sh/tests/parser/heredoc9.0 b/bin/sh/tests/parser/heredoc9.0
index 125a542ab717..d071bf51ef15 100644
--- a/bin/sh/tests/parser/heredoc9.0
+++ b/bin/sh/tests/parser/heredoc9.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# It may be argued that
# x=$(cat <<EOF
diff --git a/bin/sh/tests/parser/line-cont1.0 b/bin/sh/tests/parser/line-cont1.0
index 7ef5eba82b1e..c130070e3769 100644
--- a/bin/sh/tests/parser/line-cont1.0
+++ b/bin/sh/tests/parser/line-cont1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
i\
f
diff --git a/bin/sh/tests/parser/line-cont10.0 b/bin/sh/tests/parser/line-cont10.0
index 1e74108757a0..d416e4241468 100644
--- a/bin/sh/tests/parser/line-cont10.0
+++ b/bin/sh/tests/parser/line-cont10.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=XaaaXbbbX
[ "${v\
diff --git a/bin/sh/tests/parser/line-cont11.0 b/bin/sh/tests/parser/line-cont11.0
index 22e49758dbc6..e1c2245b7566 100644
--- a/bin/sh/tests/parser/line-cont11.0
+++ b/bin/sh/tests/parser/line-cont11.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
T=$(mktemp "${TMPDIR:-/tmp}/sh-test.XXXXXXXX") || exit
trap 'rm -f -- "$T"' 0
diff --git a/bin/sh/tests/parser/line-cont12.0 b/bin/sh/tests/parser/line-cont12.0
index 27f8260feee9..2028a2ee6def 100644
--- a/bin/sh/tests/parser/line-cont12.0
+++ b/bin/sh/tests/parser/line-cont12.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
[ '\
' = "\\
diff --git a/bin/sh/tests/parser/line-cont2.0 b/bin/sh/tests/parser/line-cont2.0
index 9a293faf6bc2..d5f7ae903748 100644
--- a/bin/sh/tests/parser/line-cont2.0
+++ b/bin/sh/tests/parser/line-cont2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
[ "a\
b" = ab ]
diff --git a/bin/sh/tests/parser/line-cont3.0 b/bin/sh/tests/parser/line-cont3.0
index 09d3aa8bba83..3f9d83a14105 100644
--- a/bin/sh/tests/parser/line-cont3.0
+++ b/bin/sh/tests/parser/line-cont3.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=`printf %s 'a\
b'`
diff --git a/bin/sh/tests/parser/line-cont4.0 b/bin/sh/tests/parser/line-cont4.0
index 5803276f2b3b..0a58847b2c35 100644
--- a/bin/sh/tests/parser/line-cont4.0
+++ b/bin/sh/tests/parser/line-cont4.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v=abcd
[ "$\
diff --git a/bin/sh/tests/parser/line-cont5.0 b/bin/sh/tests/parser/line-cont5.0
index a7aa02688310..d8b5f08d7bbb 100644
--- a/bin/sh/tests/parser/line-cont5.0
+++ b/bin/sh/tests/parser/line-cont5.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
bad=1
case x in
diff --git a/bin/sh/tests/parser/line-cont6.0 b/bin/sh/tests/parser/line-cont6.0
index b12125b929e5..c5da14929ec0 100644
--- a/bin/sh/tests/parser/line-cont6.0
+++ b/bin/sh/tests/parser/line-cont6.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
v0\
=abc
diff --git a/bin/sh/tests/parser/line-cont7.0 b/bin/sh/tests/parser/line-cont7.0
index 27f8aec9515c..ccc7fe4f0239 100644
--- a/bin/sh/tests/parser/line-cont7.0
+++ b/bin/sh/tests/parser/line-cont7.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
[ "$(\
(
diff --git a/bin/sh/tests/parser/line-cont8.0 b/bin/sh/tests/parser/line-cont8.0
index 88667760b47b..7db2c9d65386 100644
--- a/bin/sh/tests/parser/line-cont8.0
+++ b/bin/sh/tests/parser/line-cont8.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
set -- a b c d e f g h i j
[ "${1\
diff --git a/bin/sh/tests/parser/line-cont9.0 b/bin/sh/tests/parser/line-cont9.0
index 4e73c8f04abc..e0f8c2b0616c 100644
--- a/bin/sh/tests/parser/line-cont9.0
+++ b/bin/sh/tests/parser/line-cont9.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
[ "${$\
:\
diff --git a/bin/sh/tests/parser/no-space1.0 b/bin/sh/tests/parser/no-space1.0
index 6df9f6395ff6..2baba775200b 100644
--- a/bin/sh/tests/parser/no-space1.0
+++ b/bin/sh/tests/parser/no-space1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# These are ugly but are required to work.
diff --git a/bin/sh/tests/parser/no-space2.0 b/bin/sh/tests/parser/no-space2.0
index 4e8447b11e4c..d03d7aa81568 100644
--- a/bin/sh/tests/parser/no-space2.0
+++ b/bin/sh/tests/parser/no-space2.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# This conflicts with ksh extended patterns but occurs in the wild.
diff --git a/bin/sh/tests/parser/nul1.0 b/bin/sh/tests/parser/nul1.0
index 49c5ab1b0cfb..292669003acd 100644
--- a/bin/sh/tests/parser/nul1.0
+++ b/bin/sh/tests/parser/nul1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# Although POSIX does not specify the effect of NUL bytes in scripts,
# we ignore them.
diff --git a/bin/sh/tests/parser/only-redir1.0 b/bin/sh/tests/parser/only-redir1.0
index 46076c882a5e..1d8aff62e78c 100644
--- a/bin/sh/tests/parser/only-redir1.0
+++ b/bin/sh/tests/parser/only-redir1.0
@@ -1,3 +1,2 @@
-# $FreeBSD$
</dev/null &
wait $!
diff --git a/bin/sh/tests/parser/only-redir2.0 b/bin/sh/tests/parser/only-redir2.0
index b9e9501c2027..efe4c3947dde 100644
--- a/bin/sh/tests/parser/only-redir2.0
+++ b/bin/sh/tests/parser/only-redir2.0
@@ -1,2 +1 @@
-# $FreeBSD$
</dev/null | :
diff --git a/bin/sh/tests/parser/only-redir3.0 b/bin/sh/tests/parser/only-redir3.0
index 128a48391ded..549873d15b1a 100644
--- a/bin/sh/tests/parser/only-redir3.0
+++ b/bin/sh/tests/parser/only-redir3.0
@@ -1,2 +1 @@
-# $FreeBSD$
case x in x) </dev/null ;; esac
diff --git a/bin/sh/tests/parser/only-redir4.0 b/bin/sh/tests/parser/only-redir4.0
index d804e128debe..f85e9da727c5 100644
--- a/bin/sh/tests/parser/only-redir4.0
+++ b/bin/sh/tests/parser/only-redir4.0
@@ -1,2 +1 @@
-# $FreeBSD$
case x in x) </dev/null ;& esac
diff --git a/bin/sh/tests/parser/pipe-not1.0 b/bin/sh/tests/parser/pipe-not1.0
index 9842ff0afd05..12ad17288182 100644
--- a/bin/sh/tests/parser/pipe-not1.0
+++ b/bin/sh/tests/parser/pipe-not1.0
@@ -1,3 +1,2 @@
-# $FreeBSD$
: | ! : | false
diff --git a/bin/sh/tests/parser/set-v1.0 b/bin/sh/tests/parser/set-v1.0
index 687cb8317557..65106bc70b93 100644
--- a/bin/sh/tests/parser/set-v1.0
+++ b/bin/sh/tests/parser/set-v1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
${SH} <<\EOF
echo one >&2
diff --git a/bin/sh/tests/parser/var-assign1.0 b/bin/sh/tests/parser/var-assign1.0
index 1fd3b26f8a26..55034f2ccc4d 100644
--- a/bin/sh/tests/parser/var-assign1.0
+++ b/bin/sh/tests/parser/var-assign1.0
@@ -1,4 +1,3 @@
-# $FreeBSD$
# In a variable assignment, both the name and the equals sign must be entirely
# unquoted. Therefore, there is only one assignment below; the other words
# containing equals signs are command words.