From 33e5c436d56d6aab6a2cdbff030106c3664a9ff5 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 4 Dec 2024 21:16:36 +0000 Subject: [PATCH] add environment variables that scapy now needs (24.11) --- tests/pppoe/test.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pppoe/test.nix b/tests/pppoe/test.nix index 8abe96d..7798919 100644 --- a/tests/pppoe/test.nix +++ b/tests/pppoe/test.nix @@ -17,6 +17,8 @@ serverstatedir=$(mktemp -d -t routeros-XXXXXX) # python scapy drags in matplotlib which doesn't enjoy running in # a sandbox with no $HOME, hence this environment variable export MPLCONFIGDIR=$(mktemp -d -t routeros-XXXXXX) +export XDG_CONFIG_HOME=/tmp +export XDG_CACHE_HOME=/tmp . ${../test-helpers.sh}