diff --git a/tests/32_calls.sh b/tests/32_calls.sh index acd3ca2..5204bdd 100644 --- a/tests/32_calls.sh +++ b/tests/32_calls.sh @@ -12,4 +12,14 @@ @goal 'x-updated' @calls 'x-deleted' -@calls 'x-created' \ No newline at end of file +@calls 'x-created' + +@goal 'x-updated-1' +@calls 'x-deleted' 'x-created' + +@goal a +@calls b + echo 'a body' + +@goal b + echo 'b body' diff --git a/tests/32_calls.tush b/tests/32_calls.tush index 40baa64..268a9b6 100644 --- a/tests/32_calls.tush +++ b/tests/32_calls.tush @@ -5,3 +5,16 @@ $ touch /tmp/x ; ./$MAKESURE -f tests/32_calls.sh x-updated | running x-deleted | goal 'x-created' ... | running x-created + +$ touch /tmp/x ; ./$MAKESURE -f tests/32_calls.sh x-updated-1 +| goal 'x-updated-1' ... +| goal 'x-deleted' ... +| running x-deleted +| goal 'x-created' ... +| running x-created + +$ ./$MAKESURE -f tests/32_calls.sh a +| goal 'a' ... +| goal 'b' ... +| b body +| a body