Skip to content

Commit

Permalink
tests: source common under ${TESTDIR}
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-André Lureau <[email protected]>
  • Loading branch information
elmarco authored and stefanberger committed Aug 27, 2024
1 parent 6033966 commit d93a6c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_tpm2_partial_reads
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
cd "$(dirname "$0")" || exit 1

ROOT=${abs_top_builddir:-$(pwd)/..}
TESTDIR=${abs_top_testdir:-$(dirname "$0")}

export SWTPM_INTERFACE=cuse

Expand Down Expand Up @@ -33,7 +34,7 @@ function swtpm_read_n_bytes_fd100()

trap "cleanup" EXIT

source common
source "${TESTDIR}/common"
[ "${SWTPM_INTERFACE}" == "cuse" ] && source test_cuse
skip_test_no_tpm20 "${SWTPM_EXE}"

Expand Down

0 comments on commit d93a6c2

Please sign in to comment.