forked from p34709852/monkey
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):
|
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
|
return monkey_cmdline + monkey_options
|
||||||
|
|
|
@ -73,7 +73,7 @@ def test_get_monkey_commandline_windows():
|
||||||
|
|
||||||
def test_get_monkey_commandline_linux():
|
def test_get_monkey_commandline_linux():
|
||||||
expected = [
|
expected = [
|
||||||
"monkey-linux-64",
|
"/home/user/monkey-linux-64",
|
||||||
"m0nk3y",
|
"m0nk3y",
|
||||||
"-p",
|
"-p",
|
||||||
"101010",
|
"101010",
|
||||||
|
|
Loading…
Reference in New Issue