Skip to content

Commit

Permalink
Workaround failing logins
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Jan 24, 2025
1 parent 07d50e9 commit 3fcd718
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/intg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
run: sudo podman exec ${CONTAINER} sh -c 'rpmbuild -tb *tar.gz && dnf install -y ~/rpmbuild/RPMS/x86_64/tlog*'
- name: Integration tests setup
run: sudo podman exec -e CONTAINER_ENV=true ${CONTAINER} ./src/tlitest/tlitest-setup
- name: Workaround failing login
# login during tests calls 'unix_chkpwd' and this fails with
# openat(AT_FDCWD</>, "/etc/shadow", O_RDONLY|O_CLOEXEC) = -1 EACCES
# for unclear reason (CAP_DAC_* are granted)
run: sudo podman exec -t ${CONTAINER} chmod u+x /etc/shadow
- name: Run tests
# Hostnames test won't work in a container
run: sudo podman exec -t ${CONTAINER} ./src/tlitest/tlitest-run -k "not hostnames"

0 comments on commit 3fcd718

Please sign in to comment.