Fix backtrace filtering for producer own code

Using /producer-\w+ as pattern is incorrect, we have no guarantee that
the canonical repository or gem name will be included in the install
path. Just use /producer pattern to match lib files or executables.
This commit is contained in:
Thibault Jouan
2015-04-04 20:15:22 +00:00
parent c9971d7ca0
commit dbe7fea204
3 changed files with 5 additions and 5 deletions

View File

@@ -8,6 +8,6 @@ Feature: CLI debug option
Scenario: does not exclude anything from backtrace
Given a recipe using a remote
When I execute the recipe on unknown remote target with option -d
Then the output must contain "producer-core"
Then the output must contain "producer"
And the output must contain "net-ssh"
And the output must contain ruby lib directory