diff options
Diffstat (limited to 'tests/dependency/recipe/testscript')
-rw-r--r-- | tests/dependency/recipe/testscript | 55 |
1 files changed, 41 insertions, 14 deletions
diff --git a/tests/dependency/recipe/testscript b/tests/dependency/recipe/testscript index 7616412..a581724 100644 --- a/tests/dependency/recipe/testscript +++ b/tests/dependency/recipe/testscript @@ -406,7 +406,7 @@ alias{x}: echo } EOI -<stdin>:3:1: error: expected recipe block instead of '{' +<stdin>:3:1: error: expected recipe block or 'recipe' instead of '{' EOE : duplicate-action-single @@ -611,18 +611,42 @@ EOE { : weight-0 : - $* <<EOI 2>>EOE != 0 - alias{x}: - {{ - - exit - }} - dump alias{x} - EOI - <stdin>:3:1: error: unable to deduce low-verbosity script diagnostics name - info: consider specifying it explicitly with the 'diag' recipe attribute - info: or provide custom low-verbosity diagnostics with the 'diag' builtin - EOE + { + : single-operation + : + { + $* <<EOI 2>>~%EOE% + alias{x}: + {{ + + exit + }} + dump alias{x} + EOI + %.{2} + % [diag=update] perform(update) + %.{3} + EOE + } + + : multiple-operations + : + { + $* <<EOI 2>>EOE != 0 + alias{x}: + % update clean + {{ + + exit + }} + dump alias{x} + EOI + <stdin>:4:1: error: unable to deduce low-verbosity script diagnostics name + info: consider specifying it explicitly with the 'diag' recipe attribute + info: or provide custom low-verbosity diagnostics with the 'diag' builtin + EOE + } + } : weight-1 : @@ -845,8 +869,11 @@ EOE % .+alias\{x\}:% % perform(update) {{ + rm a + echo b | set c diag bar - %.{4} + fo$v + }} EOE } } |