Skip to content

Commit

Permalink
Add guaranteed-to-fail test
Browse files Browse the repository at this point in the history
Signed-off-by: DL6ER <[email protected]>
  • Loading branch information
DL6ER committed Jul 30, 2023
1 parent c393b48 commit 75a3a60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_suite.bats
Original file line number Diff line number Diff line change
Expand Up @@ -1351,3 +1351,10 @@
[[ $status == 0 ]]
run bash -c "rm ${filename}"
}

@test "Backtrace generation works for articifial crash test" {
run bash -c './pihole-FTL crash'
printf "%s\n" "${lines[@]}"
[[ $status == 0 ]]
[[ 1 == 2 ]]
}

0 comments on commit 75a3a60

Please sign in to comment.