Skip to content

Commit f1a9628

Browse files
committed
Move BSM audit test to selfhosted runner.
The vmactions VM on Github does not have the required libraries installed.
1 parent 97e8e66 commit f1a9628

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/configs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,13 @@ case "$host" in
367367
SKIP_LTESTS="agent-getpeereid" ;;
368368
esac
369369
;;
370+
*-solaris2.10)
371+
# Only the sol10 VM has BSM libraries installed, so add that to
372+
# the PAM test config.
373+
if [ "${config}" = "pam" ]; then
374+
CONFIGFLAGS="${CONFIGFLAGS} --with-audit=bsm"
375+
fi
376+
;;
370377
esac
371378

372379
# Unless specifically configured, search for a suitable version of OpenSSL,

.github/workflows/vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ jobs:
356356
357357
- name: "PAM: configure"
358358
shell: solaris {0}
359-
run: cd $GITHUB_WORKSPACE && sudo -u builder ./configure --with-pam --with-audit=bsm
359+
run: cd $GITHUB_WORKSPACE && sudo -u builder ./configure --with-pam
360360
- name: "PAM: make clean"
361361
shell: solaris {0}
362362
run: cd $GITHUB_WORKSPACE && sudo -u builder make clean

0 commit comments

Comments
 (0)