tests: Move testing of profiles from a dev branch to master branch

Now that master has the profile support, make the test case also use it.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2024-07-22 10:13:24 -04:00 committed by Stefan Berger
parent eefbd3fb93
commit 3c1e535efb

View File

@ -41,6 +41,7 @@ LIBTPMS_URL=https://github.com/stefanberger/libtpms
LIBTPMS_INITIAL_BRANCH=master
SWTPM_URL=https://github.com/stefanberger/swtpm
SWTPM_DEFAULT_BRANCH=master # during development change to local branch
cat <<_EOF_ > "${workdir}/swtpm-localca.options"
--tpm-manufacturer IBM
@ -496,7 +497,7 @@ function build_libtpms_and_swtpm()
"${workdir}/swtpm" \
"-I${libtpmsdir}/include -L${workdir}/libtpms-master" \
"${workdir}/libtpms-master" \
stefanberger/libtpms_profiles; then # FIXME: should be master
"${SWTPM_DEFAULT_BRANCH}"; then
echo "Error: Could not build swtpm"
return 1
fi