Commit Graph

12 Commits

Author SHA1 Message Date
ejc3
4fd0875050 regress: start panes with /bin/sh, not the login shell
The Makefile runs each test under env -i, so SHELL is unset and the
server's default-shell is the login shell from the password file. It
runs every pane that has no command, as a login shell, and every pane
command given as one string, with -c. zsh takes HOME from the password
file when it is unset, so it reads the user's startup files and
history.

Twenty-six tests type a command into such a pane and give it a fixed
time: twenty-five type an attach to a second server and sleep for a
second, and session-ops.sh types a script and waits five seconds for
it. When the login shell is slow to give a prompt, the checks run
before the command has. zsh, for one, waits until a lock on a non-empty
history file is ten seconds old.

Set SHELL=/bin/sh in the environment the tests run in.
2026-10-15 05:53:29 +00:00
Nicholas Marriott
1de5f662cb Image regress tests. 2026-10-14 12:44:53 +01:00
Nicholas Marriott
f5c4998db3 Make regress parallel friendly. 2026-09-21 22:00:47 +01:00
Nicholas Marriott
4f981a2506 Turn on ASAN for macOS regress. 2026-07-12 20:59:11 +01:00
Nicholas Marriott
501e8da925 Update some tests and improve Makefile. 2026-07-06 10:00:26 +01:00
Nicholas Marriott
219dc7f99e Locale breaks tests. 2026-07-04 19:13:53 +01:00
Nicholas Marriott
1d7021130d Set ASAN_OPTIONS in regress Makefile. 2026-07-04 09:15:32 +01:00
Nicholas Marriott
abcf8dca3a Put ASAN_OPTIONS in the right place. 2026-07-02 23:18:50 +01:00
Nicholas Marriott
390805d8b9 Make output nicer for tests. 2026-07-02 10:46:32 +01:00
Nicholas Marriott
f03776c262 Don't use a config file in tests. 2019-04-02 09:53:02 +01:00
Nicholas Marriott
4b39120d22 .NOTPARALLEL. 2017-04-30 13:55:32 +01:00
Nicholas Marriott
76950a6401 Add regress/Makefile. 2017-04-30 13:47:25 +01:00