aboutsummaryrefslogtreecommitdiff
path: root/tests/dependency/recipe/testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dependency/recipe/testscript')
-rw-r--r--tests/dependency/recipe/testscript22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/dependency/recipe/testscript b/tests/dependency/recipe/testscript
index 4c4abe5..3126691 100644
--- a/tests/dependency/recipe/testscript
+++ b/tests/dependency/recipe/testscript
@@ -436,7 +436,7 @@ alias{x}:
echo
}}
EOI
-<stdin>:2:3: error: duplicate recipe for perform(update)
+<stdin>:2:3: error: duplicate perform(update) recipe
EOE
: duplicate-action-multiple
@@ -451,7 +451,25 @@ alias{x}:
echo
}}
EOI
-<stdin>:5:3: error: duplicate recipe for perform(update)
+<stdin>:5:3: error: duplicate perform(update) recipe
+EOE
+
+: duplicate-action-multipe-decls
+:
+$* <<EOI 2>>EOE != 0
+alias{y}:
+{{
+ echo
+}}
+
+alias{x y}:
+% perform(update)
+{{
+ diag echo
+ echo
+}}
+EOI
+<stdin>:7:3: error: duplicate perform(update) recipe for target alias{y}
EOE
: if-else