Merge pull request #1571 from ludovic111/fix/home-leak-tests

Tools and harnesses start the game in scratch folders, not a player's
This commit is contained in:
Ludovic Marie
2026-10-25 05:07:12 +01:00
committed by GitHub
28 changed files with 193 additions and 41 deletions
+1 -2
View File
@@ -278,8 +278,7 @@ class Game:
(self.work / '.local/horizon-client').mkdir(parents=True)
os.symlink(resources, self.work / '.local/horizon-client' / lab.VERSION)
self.socket = self.work / 'c.sock'
env = game_env(os.environ.get('VSCREEN', 'lan-e2e'))
env['HORIZON_HOME'] = str(self.work / 'home')
env = game_env(os.environ.get('VSCREEN', 'lan-e2e'), home=self.work / 'home')
self.d = Cli(ctl, self.socket, self.work, env)
self.d.name = name