1 # arch-tag: org.pipapo.mala.tests.expansion
3 TESTING "plain engine/ppexpansion tests:" ./test-mala_expansions
12 TEST "one longopt" --foo <<END
19 TEST "one shortopt" -f <<END
26 TEST "2 args" foo bar <<END
35 TEST "simple exclam_expansion" ! --foo <<END
43 TEST "simple no_expansion" --no-foo <<END
51 TEST "simple char_expansion" -foo+bar <<END
63 TEST "simple assign_expansion" --foo=bar <<END
72 TEST "simple setenv_expansion" variable=foobar <<END
83 TEST "simple envvar_expansion" --\$FOO <<END
91 TEST "simple underscore_expansion" --foo_bar <<END
98 TEST "simple numsplit_expansion" -f00 <<END
106 TEST "simple bracket_expansion" [foobar] <<END
114 TEST "simple assign_contraction" variable = foobar <<END
123 TEST "complex" variable = foobar --no-\$variable <<END
135 TEST "complex envvar_expansion 1" --no-\${FOO} <<END
144 TEST "complex longopt assign_expansion with spaces" --foo="bar baz" <<END
152 TEST "shortopt with number" -foo0bar <<END