Bash-4.4 distribution sources and documentation

This commit is contained in:
Chet Ramey 2016-09-15 16:59:08 -04:00
commit a0c0a00fc4
588 changed files with 130746 additions and 80164 deletions

View file

@ -171,6 +171,18 @@ if [ "$val1" != "'#abcd'" ]; then
testfail "variable quoting 4"
fi
# these are Posix.2 shell grammar rule 4, problems through bash-4.3
newtest
case esac in (foo|esac) ;; *) testfail "case esac test 1" ;; esac
newtest
case esac in foo|esac) ;; *) testfail "case esac test 2" ;; esac
# these are supposed to be syntax errors
newtest
eval 'case esac in (esac) ;; *) echo "case esac test 3" ;; esac'
newtest
eval 'case esac in esac) ;; *) echo "case esac test 4";; esac'
if [ $exitval = 0 ]; then
echo "All tests passed"
else