Add tests to cover python command

This commit is contained in:
Richard Berger
2021-03-24 15:42:38 -04:00
parent 9d3e37b102
commit 1c9c46d2c1
4 changed files with 110 additions and 1 deletions

View File

@ -506,6 +506,7 @@ int PythonImpl::create_entry(char *name)
"cannot be used unless output is a string");
pfuncs[ifunc].length_longstr = length_longstr;
pfuncs[ifunc].longstr = new char[length_longstr+1];
pfuncs[ifunc].longstr[length_longstr] = '\0';
}
if (strstr(ostr,"v_") != ostr) error->all(FLERR,"Invalid python command");