-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get bats_print_stack_trace() working
Line numbers and command excerpts were wrong, because the stack-tracing magic has exceptions for tracing inside BATS helper files. Added a workaround for this, such that xrun and xpect will log the calling function. Added excerpt and line-number tests. Signed-off-by: Ed Santiago <santiago@redhat.com>
- Loading branch information
1 parent
261d49b
commit 8102a0f
Showing
2 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters