mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-05 14:57:30 +01:00
Yes, I realize I broke the unit test, but thats because I need to fix set
git-svn-id: file:///home/svn/incoming/trunk@2605 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
0b289dbe6d
commit
32e2e0503e
@ -12,7 +12,7 @@ class Rex::Encoders::XorDWord::UnitTest < ::Test::Unit::TestCase
|
|||||||
def test_encode
|
def test_encode
|
||||||
2000.times {
|
2000.times {
|
||||||
buffer = ""
|
buffer = ""
|
||||||
rand(100).times { buffer << 0x90 }
|
rand(1000).times { buffer << 0x90 }
|
||||||
assert_equal(nil, MachineTest.testraw(Klass.encode(buffer + "\xcc")))
|
assert_equal(nil, MachineTest.testraw(Klass.encode(buffer + "\xcc")))
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user