tests/emulator/test_channels_shell: set empty PATH to match device env

This commit is contained in:
Alexander Sosedkin 2024-07-10 13:31:58 +02:00
parent f3d3b82940
commit 25f49c76c4

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,