Files
ARTEX/agent
BaaRai 73d35835c5 test(agent,server): run the tests in a temp directory of their own
Norma keeps background-task output in os.TempDir()/norma. A test that starts
a Norma session without a private TMPDIR wrote into the host's /tmp/norma.

TestMain of the agent and server packages now creates a directory with
os.MkdirTemp("", "artex-test-tmp-"), sets TMPDIR to it before m.Run and
removes it afterwards on every exit path. The directory is world-writable
and sticky like /tmp: MkdirTemp creates it 0700, which the executor of the
root tests could not traverse. In the server package the setup comes after
RunExecShimIfRequested, which stays the first call; the database suffix,
the test key and the advisory lock run in the same order as before. A test
that sets TMPDIR itself keeps its own.
2026-11-20 06:38:10 +01:00
..
2026-07-26 04:27:45 -04:00
2026-07-26 04:27:45 -04:00