Fix if/end
parent
4694ef6723
commit
43bc159022
|
@ -38,7 +38,6 @@ class MetasploitModule < Msf::Post
|
|||
output = cmd_exec("sleep 1; echo #{test_string}")
|
||||
output == test_string
|
||||
end
|
||||
end
|
||||
|
||||
it "should return the full response after sleeping" do
|
||||
test_string = Rex::Text.rand_text_alpha(4)
|
||||
|
@ -50,6 +49,7 @@ class MetasploitModule < Msf::Post
|
|||
end
|
||||
output.delete("\r") == "#{test_string}\n#{test_string2}"
|
||||
end
|
||||
end
|
||||
|
||||
it "should return the result of echo 10 times" do
|
||||
10.times do
|
||||
|
|
Loading…
Reference in New Issue