-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unit_test.py fails in blocks.dependencies() #47
Comments
Culprit: Index: sulley/primitives.py--- sulley/primitives.py (revision 147)
That comes from https://sulley.googlecode.com/svn/trunk |
Are you using the most up-to-date version? https://github.com/OpenRCE/sulley/blob/master/sulley/primitives.py I see nowhere in here does a mutant_index get initialized with 1... |
It is inited with zero and that breaks dependencies() test. |
Hrm, that's odd. The unit tests were written long ago by someone else, so if you feel like fixing them, go for it? I'm concentrating my effort on sulley V2, and since I'm the only dev on this (with limited time) I have to pick how I spend my time wisely. I realize that's probably not what you like to hear after reporting a bug, but I believe this is a problem with the test itself, and not with the sulley codebase. |
Ahhh, I had this and fixed it in pull request earlier today. Therefore this issue can now be closed. |
C:\sulley_build\sulley>unit_test.py
PRIMITIVE MUTATION COUNTS (SIZES):
delim: 44 (3979)
string: 1078 (72904962)
byte: 112
word: 141
dword: 143
qword: 143
sizer: 143
Traceback (most recent call last):
File "C:\sulley_build\sulley\unit_test.py", line 5, in
unit_tests.blocks.run()
File "C:\sulley_build\sulley\unit_tests\blocks.py", line 5, in run
dependencies()
File "C:\sulley_build\sulley\unit_tests\blocks.py", line 89, in dependencies
assert(s_render().find("ONE") == -1)
AssertionError
The text was updated successfully, but these errors were encountered: