Page MenuHomeFreeBSD

sh/tests: Cut down builtins/read12.0 by 2 seconds
Needs ReviewPublic

Authored by jilles on Feb 8 2026, 11:15 PM.
Tags
None
Referenced Files
F153058935: D55191.diff
Sat, Apr 18, 9:43 PM
Unknown Object (File)
Fri, Apr 17, 8:57 AM
Unknown Object (File)
Sat, Apr 11, 7:29 PM
Unknown Object (File)
Sun, Apr 5, 3:21 PM
Unknown Object (File)
Sun, Apr 5, 1:06 PM
Unknown Object (File)
Sun, Apr 5, 1:05 PM
Unknown Object (File)
Sat, Apr 4, 1:20 PM
Unknown Object (File)
Sun, Mar 29, 12:49 PM
Subscribers

Details

Reviewers
des
Summary

Since the test assumes a 250 ms response time, the test delay can be 1
second instead of 3.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70533
Build 67416: arc lint + arc unit

Event Timeline

Since the test assumes a 250 ms response time, the test delay can be 1 second instead of 3.

That is a complete non sequitur.

Why does the test need to be shortened?

In D55191#1261862, @des wrote:

Since the test assumes a 250 ms response time, the test delay can be 1 second instead of 3.

That is a complete non sequitur.

Why does the test need to be shortened?

To make it nicer to develop sh(1), I have gone to great lengths to make its tests fast. Avoiding sleeps also improves reliability of the tests.

I am aware that tests for other parts of the system may be unnecessarily slow.