Fix if/end

GSoC/Meterpreter_Web_Console
bwatters-r7 2018-03-06 15:01:15 -06:00
parent 4694ef6723
commit 43bc159022
No known key found for this signature in database
GPG Key ID: ECC0F0A52E65F268
1 changed files with 9 additions and 9 deletions

View File

@ -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