Tes passing None to SetErrorString() and SetErrorStringWithFormat().

llvm-svn: 146919
This commit is contained in:
Johnny Chen 2011-12-19 22:56:47 +00:00
parent f9aca2089e
commit c5c0247d98
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ def fuzz_obj(obj):
obj.SetErrorToErrno()
obj.SetErrorToGenericError()
obj.SetErrorString("xyz")
obj.SetErrorString(None)
obj.SetErrorStringWithFormat("%s!", "error")
obj.SetErrorStringWithFormat(None)
obj.GetDescription(lldb.SBStream())
obj.Clear()