Skip to content

Commit 162d73a

Browse files
committed
Testsuite - Fix test_102_1 ensuring PATH is preserved
Ticket: 21648
1 parent d132397 commit 162d73a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testsuite/python/tests/test_102_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def test_add_federation_existing_cluster():
413413
)
414414
child = pexpect.spawn(
415415
"sudo",
416-
["-nu", atf.properties["slurm-user"], "/bin/bash", "-lc", command],
416+
["--preserve-env=PATH", "-nu", atf.properties["slurm-user"], "/bin/bash", "-lc", command],
417417
encoding="utf-8",
418418
)
419419
assert (

0 commit comments

Comments
 (0)