mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-12-16 22:11:10 +01:00
WIP: tests/emulator/test_channels_shell: investigate what happens to $PATH
This commit is contained in:
parent
598fa1f995
commit
f95fb313ff
3 changed files with 6 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