• exec/tests/webmail/addres

    From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/m on Fri Nov 20 17:12:00 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/697e3cc8b5ec5625d79d332c
    Modified Files:
    exec/tests/webmail/address.js
    Log Message:
    tests/webmail/address.js: judge linear trimming by ratio, not by a time limit

    The check that white space handling is linear allowed 5 seconds for
    200,000 spaces. Under valgrind on the freebsd-amd64 and
    raspberrypi-arm64 CI runners the same work takes about 17 seconds, so
    the test has failed in those two jobs since it was added.

    It now times the work at 50,000 and at 200,000 spaces and fails only
    when four times the input takes ten times as long or more (quadratic
    work would take sixteen times as long), with no limit on the time
    itself.

    Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>