]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/comsub.tests
bash-5.0-alpha release
[thirdparty/bash.git] / tests / comsub.tests
index 4defc31eba3232d7c27b8c6fa9a3c32e122a1b7a..ed56007c03876316e8f3aa5e9ecc6e9ad64d58a2 100644 (file)
@@ -44,6 +44,19 @@ bar')
 # long-standing parse error in all versions up through bash-4.3
 echo ${foo:-$(echo a{b,c})} >/dev/null
 
+# parsing problem based on recursively calling bison parser through bash-4.4
+for (( INDEX=0; INDEX<$((10-$(echo length $V_NAME))); INDEX++ ))
+do
+       :
+done
+
+# problem with four-character words followed by a metachar through bash-4.4
+comsub_foo_1()
+{
+  echo $(while true; do case $HOME in /*) echo abs ;; esac; done)
+}
+
 ${THIS_SH} ./comsub1.sub
 ${THIS_SH} ./comsub2.sub
 ${THIS_SH} ./comsub3.sub
+${THIS_SH} ./comsub4.sub