agent: Change absolute path to full path in get_monkey_commandline_linux
This commit is contained in:
parent
af974fae70
commit
a158665f2b
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue