container-driver: source nixos environment variables in test commands

This commit is contained in:
Jörg Thalheim 2024-06-14 10:44:31 +02:00
parent e3d84a5daf
commit ec49d1f844

View File

@ -151,7 +151,7 @@ class Machine:
"""
# Always run command with shell opts
command = f"set -euo pipefail; {command}"
command = f"set -eo pipefail; source /etc/profile; set -u; {command}"
proc = subprocess.run(
[