1 # arch-tag: org.pipapo.mala.tests.expansion
3 TESTING "plain engine/ppexpansion tests:" ./test-mala_expansions
5 TEST "one longopt" --foo <<END
12 TEST "one shortopt" -f <<END
19 TEST "2 args" foo bar <<END
28 TEST "simple exclam_expansion" ! --foo <<END
36 TEST "simple no_expansion" --no-foo <<END
44 TEST "simple char_expansion" -foo+bar <<END
56 TEST "simple assign_expansion" --foo=bar <<END
65 TEST "simple setenv_expansion" variable=foobar <<END
76 TEST "simple envvar_expansion" --\$FOO <<END
84 TEST "simple underscore_expansion" --foo_bar <<END
91 TEST "simple numsplit_expansion" -f00 <<END
99 TEST "simple bracket_expansion" [foobar] <<END
107 TEST "simple assign_contraction" variable = foobar <<END
116 TEST "complex" variable = foobar --no-\$variable <<END
128 TEST "complex envvar_expansion 1" --no-\${FOO} <<END
137 TEST "complex longopt assign_expansion with spaces" --foo="bar baz" <<END
145 TEST "shortopt with number" -foo0bar <<END