[InterNetNews/inn] 7442c2: tombstone-e2e: use POSIX shell for portability

Kevin Bowling noreply at github.com
Fri Jun 19 21:37:29 UTC 2026


  Branch: refs/heads/2.7
  Home:   https://github.com/InterNetNews/inn
  Commit: 7442c270dd5c541463570d8b820ffbad8bbc94e3
      https://github.com/InterNetNews/inn/commit/7442c270dd5c541463570d8b820ffbad8bbc94e3
  Author: Kevin Bowling <kevin.bowling at kev009.com>
  Date:   2026-06-19 (Fri, 19 Jun 2026)

  Changed paths:
    M tests/expire/tombstone-e2e.t

  Log Message:
  -----------
  tombstone-e2e: use POSIX shell for portability

The test relied on GNU-style options unavailable on AIX and Solaris
native tools: grep -F, sed -i, and a \t escape in a sed character
class.

Replace them with POSIX-only helpers so the test runs
without requiring GNU tools or innshellvars detection:

  - contains(): a while-read/case substring matcher (no grep -F)
  - countlines(): wc -l | tr -cd '0-9' (no sed, handles AIX wc
    leading whitespace)
  - setconf(): sed > tmp && mv (no sed -i)

Fixes #345.
Closes #347.


  Commit: 451d31c1a8b1bdf8bfa50e5dc28ffe124799111c
      https://github.com/InterNetNews/inn/commit/451d31c1a8b1bdf8bfa50e5dc28ffe124799111c
  Author: Kevin Bowling <kevin.bowling at kev009.com>
  Date:   2026-06-19 (Fri, 19 Jun 2026)

  Changed paths:
    M history/hisv6/hisv6.c

  Log Message:
  -----------
  hisv6: guard against NULL innconf

When built on a platform where configure defines MMAP_NEEDS_MSYNC
(like OpenBSD), hisv6_open() dereferenced innconf unconditionally.

Fixes #346.
Closes #348.


Compare: https://github.com/InterNetNews/inn/compare/3bae73a5bb04...451d31c1a8b1

To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications


More information about the inn-committers mailing list