container-driver: source nixos environment variables in test commands
This commit is contained in:
parent
e3d84a5daf
commit
ec49d1f844
|
@ -151,7 +151,7 @@ class Machine:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Always run command with shell opts
|
# 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(
|
proc = subprocess.run(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue
Block a user