Lines Matching refs:should
20 # You should have received a copy of the GNU General Public License
148 if ($. == 1) { # This should be an interpreter line
426 q<$'...' should be "$(printf '...')">);
455 q<$"foo" should be eval_gettext "foo">);
575 # the exec should either be "eval"ed or a new statement
617 # the exec should either be "eval"ed or a new statement
640 qr'(test|-o|-a)\s*[^\s]+\s+==\s' => q<should be 'b = a'>,
641 qr'\[\s+[^\]]+\s+==\s' => q<should be 'b = a'>,
645 q<brace expansion, {a..b[..c]}should be $(seq a [c] b)>,
657 qr'(?<![\$\(])\(\(.*\)\)' => q<'((' should be '$(('>,
658 qr'(?:^|\s+)(\[|test)\s+-a' => q<test with unary -a (should be -e)>,
659 qr'\&>' => q<should be \>word 2\>&1>,
661 q<should be \>word 2\>&1>,
663 q<alternative test command ([[ foo ]] should be [ foo ])>,
687 q<function names should only contain [a-z0-9_]>,
689 => q<function names should only contain [a-z0-9_]>,
697 qr'\[\^[^]]+\]' => q<[^] should be [!]>,
700 q<'printf -v var ...' should be var='$(printf ...)'>,
710 q<setvar 'foo' 'bar' should be eval 'foo="'"$bar"'"'>,
719 q<'exit --' should be 'exit' (idem for return)>,
726 qr'\$\[[^][]+\]' => q<'$[' should be '$(('>,
742 qr'\$\{?EUID\}?\b' => q<$EUID should be "$(id -u)">,
743 qr'\$\{?UID\}?\b' => q<$UID should be "$(id -ru)">,
761 q<'$((n++))' should be '$n; $((n=n+1))'>,
763 q<'$((++n))' should be '$((n=n+1))'>,
765 q<'$((n--))' should be '$n; $((n=n-1))'>,
767 q<'$((--n))' should be '$((n=n-1))'>,
778 q<should be '.', not 'source'>,
797 = q<'$(\< foo)' should be '$(cat foo)'>;
799 $bashisms{ $LEADIN . qr'\w+\+=' } = q<should be VAR="${VAR}foo">;
801 = q<'$(\< foo)' should be '$(cat foo)'>;