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-11-12 01:30:17 +01:00
2026-11-14 14:19:13 +01:00
2026-11-14 13:46:03 +01:00
2026-11-12 07:37:58 +01:00
2026-11-20 05:35:54 +01:00
2026-11-14 01:02:16 +01:00
2026-11-20 05:35:54 +01:00
2026-11-12 12:35:06 +01:00
2026-11-20 05:35:54 +01:00
2026-11-14 01:02:16 +01:00
2026-11-19 14:23:29 -03:00
2026-11-17 13:04:36 -05:00
2026-11-17 15:50:00 -05:00
2026-11-19 14:23:29 -03:00
2026-11-18 00:41:18 -06:00
2026-11-18 22:40:21 +01:00
2026-11-20 05:35:55 +01:00
2026-11-12 00:37:44 +01:00
2026-11-17 22:18:54 +01:00
2026-11-12 20:48:34 +01:00
2026-11-12 20:48:34 +01:00
2026-11-17 13:04:36 -05:00
2026-11-17 23:44:36 +01:00
2026-11-17 23:44:36 +01:00
2026-11-18 01:51:41 +00:00
2026-11-17 06:14:31 +00:00
2026-11-18 01:51:41 +00:00
2026-11-18 01:51:41 +00:00
2026-11-12 00:37:44 +01:00
2026-11-20 05:35:54 +01:00
2026-11-20 05:35:54 +01:00
2026-11-20 05:35:54 +01:00
2026-11-20 05:35:54 +01:00
2026-11-14 13:46:03 +01:00
2026-11-14 13:46:03 +01:00
2026-11-16 07:47:25 +01:00
2026-11-12 07:37:58 +01:00
2026-11-19 14:23:29 -03:00
2026-11-20 05:35:55 +01:00
2026-11-15 22:26:21 +01:00
2026-11-15 22:26:21 +01:00
2026-11-15 19:08:49 +01:00
2026-11-15 01:23:56 +01:00
2026-11-15 01:23:56 +01:00
2026-11-20 05:35:55 +01:00
2026-11-14 14:19:13 +01:00
2026-11-14 14:19:13 +01:00
2026-11-14 14:19:13 +01:00
2026-11-14 14:19:13 +01:00
2026-11-12 00:37:44 +01:00
2026-11-17 12:56:13 +00:00
2026-11-20 05:35:54 +01:00
2026-11-18 00:41:18 -06:00
2026-11-18 00:41:18 -06:00
2026-11-15 00:57:13 +01:00
2026-11-19 14:23:29 -03:00
2026-11-20 05:35:55 +01:00
2026-11-14 01:02:16 +01:00
2026-11-14 01:02:16 +01:00
2026-11-13 19:15:59 +01:00
2026-11-14 01:02:16 +01:00
2026-11-15 15:32:07 +01:00
2026-11-15 15:32:07 +01:00
2026-11-20 05:35:54 +01:00
2026-11-20 05:35:55 +01:00
2026-11-20 05:35:55 +01:00
2026-11-18 00:41:18 -06:00
2026-11-20 06:38:10 +01:00
2026-11-17 06:14:31 +00:00
2026-11-14 13:46:03 +01:00
2026-11-12 15:42:31 +01:00
2026-11-18 17:22:36 +01:00
2026-11-17 12:56:23 +00:00
2026-11-20 05:35:54 +01:00
2026-11-12 14:46:44 +01:00
2026-11-19 14:23:29 -03:00
2026-11-14 23:30:06 +01:00
2026-11-12 16:33:14 +01:00
2026-11-14 23:30:06 +01:00
2026-11-20 05:35:55 +01:00
2026-11-14 14:19:13 +01:00