WIP: tests/emulator/test_channels_shell: investigate what happens to $PATH

This commit is contained in:
Alexander Sosedkin 2024-07-10 11:49:29 +02:00
parent 598fa1f995
commit f95fb313ff
3 changed files with 6 additions and 2 deletions

View file

@ -36,8 +36,8 @@ def run(d):
('cd /data/data/com.termux.nix/files/home; '
'pwd; '
'id; '
'/data/data/com.termux.nix/files/usr/bin/login '
' nix-on-droid on-device-test')
'env PATH= /data/data/com.termux.nix/files/usr/bin/login '
' nix-on-droid on-device-test'),
]:
print(f'running {cmd} as {user} with capture:')
p = subprocess.Popen(['adb', 'shell', 'su', '0', 'su', user,