Files
bash/tests/parser.tests

18 lines
468 B
Plaintext

# catch-all for parsing problems that don't fit anywhere else
. ./test-aux-functions
# word_top issues in bash-5.2
case x in x) if ((1)); then :; fi ;; esac
case x in x) if ((1)); then :; fi esac
case x in x) if ((true ) ); then :; fi ;; esac
case x in x) if ((true ) ); then :; fi esac
# problem with bash-5.2
${THIS_SH} -c '((X=([))]' bash
# this has to be in a separate file to get desired EOF behavior
test_runsub ./parser1.sub
test_runsub ./posix2syntax.sub