agent: Change absolute path to full path in get_monkey_commandline_linux

This commit is contained in:
Ilija Lazoroski 2021-06-18 12:38:32 +02:00 committed by Ilija Lazoroski
parent af974fae70
commit a158665f2b
2 changed files with 2 additions and 2 deletions

View File

@ -56,6 +56,6 @@ def get_monkey_commandline_windows(destination_path, monkey_options):
def get_monkey_commandline_linux(destination_path, monkey_options):
monkey_cmdline = [destination_path.split("/")[-1], MONKEY_ARG]
monkey_cmdline = [destination_path, MONKEY_ARG]
return monkey_cmdline + monkey_options

View File

@ -73,7 +73,7 @@ def test_get_monkey_commandline_windows():
def test_get_monkey_commandline_linux():
expected = [
"monkey-linux-64",
"/home/user/monkey-linux-64",
"m0nk3y",
"-p",
"101010",