Skip to content

Commit

Permalink
tests/emulator/test_channels_shell: set empty PATH to match device env
Browse files Browse the repository at this point in the history
  • Loading branch information
t184256 committed Jul 10, 2024
1 parent f3d3b82 commit 9e51417
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/emulator/test_channels_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9e51417

Please sign in to comment.