summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-04-28 16:13:03 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-05-04 13:16:21 +0000
commit3895fec34bca8addd0ce049614bf2f8305225559 (patch)
treece3bf5d92273c5d99f7a7c5b3807a0baf61068a1 /selftest
parentc9506b8b6289baa30318767d6fd52b17f1070cfb (diff)
Add remote user for RemoteProcress
Use it to set root user for SysmoBTS, otherwise if osmo-gsm-tester is run by another user it will fail to connect Change-Id: I67d4126fc75cb9c2d249c713cd6f14db1f1e21da
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/process_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/process_test.py b/selftest/process_test.py
index 9ad082b..71523c9 100755
--- a/selftest/process_test.py
+++ b/selftest/process_test.py
@@ -38,7 +38,7 @@ test_ssh = True
test_ssh = False
if test_ssh:
# this part of the test requires ability to ssh to localhost
- p = process.RemoteProcess('localhost', '/tmp', 'ssh-test', tmpdir,
+ p = process.RemoteProcess('ssh-test', '/tmp', os.getenv('USER'), 'localhost', tmpdir,
('ls', '-al'))
p.launch()
p.wait()