[InterNetNews/inn] 83eb9c: tombstone-e2e: use POSIX shell for portability
Kevin Bowling
noreply at github.com
Fri Jun 19 21:27:23 UTC 2026
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: 83eb9ca4ddaf1145d7fc0cb8a96fa133f08a8542
https://github.com/InterNetNews/inn/commit/83eb9ca4ddaf1145d7fc0cb8a96fa133f08a8542
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.
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