Skip to content

atftp: fix and enable the %check test suite - #18249

Draft
kgodara912 wants to merge 1 commit into
3.0-devfrom
kgodara/atftp-fix-check-tests
Draft

atftp: fix and enable the %check test suite#18249
kgodara912 wants to merge 1 commit into
3.0-devfrom
kgodara/atftp-fix-check-tests

Conversation

@kgodara912

Copy link
Copy Markdown
  • Build atftpd with PCRE support (BuildRequires: pcre2-devel) so the server --pcre option exists; without it the test suite could not start the server.
  • Fix test.sh setup: replace the stale unbound $DIRECTORY variable (which aborted test.sh under 'set -u') with chmods that give the privilege-dropping atftpd access to the server root ($TDIR) and a writable log ($SERVER_LOG); its post-drop log reopen otherwise reverts to syslog and breaks the PCRE test.
  • Dump test-suite.log on failure for diagnosability.
  • Bump release to 2.

- Build atftpd with PCRE support (BuildRequires: pcre2-devel) so the server
  --pcre option exists; without it the test suite could not start the server.
- Fix test.sh setup: replace the stale unbound $DIRECTORY variable (which
  aborted test.sh under 'set -u') with chmods that give the privilege-dropping
  atftpd access to the server root ($TDIR) and a writable log ($SERVER_LOG);
  its post-drop log reopen otherwise reverts to syslog and breaks the PCRE test.
- Dump test-suite.log on failure for diagnosability.
- Bump release to 2.
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant