diff options
Diffstat (limited to 't/chainlint/if-then-else.expect')
-rw-r--r-- | t/chainlint/if-then-else.expect | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/t/chainlint/if-then-else.expect b/t/chainlint/if-then-else.expect new file mode 100644 index 000000000000..5953c7bfbc2e --- /dev/null +++ b/t/chainlint/if-then-else.expect @@ -0,0 +1,19 @@ +( + if test -n "" + then +?!AMP?! echo very + echo empty + elif test -z "" + echo foo + else + echo foo && + cat +?!AMP?! fi + echo poodle +>) && +( + if test -n ""; then + echo very && +?!AMP?! echo empty + if +>) |