Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Applencourt committed Oct 1, 2024
1 parent 563ad24 commit 5e3721b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integration_tests/general.bats
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,8 @@ teardown_file() {
[ "$status" != 0 ]
rm out.pftrace
}

@test "exit_code_propagated" {
run $IPROF -- bash -c "exit 55"
[ "$status" == 55 ]
}

0 comments on commit 5e3721b

Please sign in to comment.