+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
# tests for miscellaneous builtins not tested elsewhere
set +p
set +o posix
hash
# this had better succeed, since command -p guarantees we will find the
-# standard utilties
+# standard utilities
command -p hash rm
# check out source/.
# test out cd and $CDPATH
${THIS_SH} ./builtins1.sub
-# test behavior of `.' when given a non-existant file argument
+# test behavior of `.' when given a non-existent file argument
${THIS_SH} ./source5.sub
# test bugs in sourcing non-regular files, fixed post-bash-3.2
# test behavior of unset builtin with -f and -v options
${THIS_SH} ./builtins6.sub
+# test behavior of command builtin after changing it to a pseudo-keyword
+${THIS_SH} ./builtins7.sub
+
# this must be last -- it is a fatal error
exit status