diff options
author | Greg Hudson <ghudson@mit.edu> | 2023-08-29 16:40:58 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2023-10-02 19:03:13 -0400 |
commit | 036f861b657f63852732a4c19d84a4f18a3938ec (patch) | |
tree | 3f6801a7d09c935e885b25148284fdd2be510765 /.github | |
parent | 6ed1f8e27eb624710c4aa152d8dee4cf2e528082 (diff) | |
download | krb5-036f861b657f63852732a4c19d84a4f18a3938ec.zip krb5-036f861b657f63852732a4c19d84a4f18a3938ec.tar.gz krb5-036f861b657f63852732a4c19d84a4f18a3938ec.tar.bz2 |
Add ksu test script
Add a test script for ksu, which must be run under sudo and makes
potentially disruptive temporary changes to the host environment. Do
not run it as part of "make check", but do run it as part of the
Github Actions CI.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68a4788..e62f3fe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,12 +41,17 @@ jobs: MAKEVARS: ${{ matrix.makevars }} CONFIGURE_OPTS: ${{ matrix.configureopts }} run: | + # For the ksu tests, allow homedir access from other users. + umask 022 + chmod a+rx $HOME + chmod -R a+rX src cd src autoreconf ./configure --enable-maintainer-mode --with-ldap $CONFIGURE_OPTS --prefix=$HOME/inst make $MAKEVARS make check make install + (cd clients/ksu && make check-ksu) - name: Display skipped tests run: cat src/skiptests - name: Check for files unexpectedly not removed by make distclean |