mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
tests/emulator/test_channels_shell: set empty PATH to match device env
This commit is contained in:
parent
f3d3b82940
commit
25f49c76c4
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue