Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen committed Aug 19, 2024
1 parent 2a0015b commit 5e1182a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backport_tests
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ function test_get_exit_code {

log_header "Tests exit code"
# https://github.com/hazelcast/backport/issues/10
# Find location of a temp directory, where script is _unlikely_ to exist
TMPDIR=$(mktemp)
TMPDIR="$(dirname "${SCRIPT_DIR}")"
(cd "${TMPDIR}"; test_get_exit_code 2)

assert_eq 0 "${TESTS_RESULT}" "All tests should pass"

0 comments on commit 5e1182a

Please sign in to comment.