fixed test file corruption problem
* gentest.py: fixed test file corruption problem
diff --git a/gentest.py b/gentest.py
index b8603c2..77e81a0 100755
--- a/gentest.py
+++ b/gentest.py
@@ -200,7 +200,9 @@
string.find(info, "filename") != -1 or \
string.find(info, "URI") != -1 or \
string.find(info, "URL") != -1:
- if string.find(function, "Save") != -1:
+ if string.find(function, "Save") != -1 or \
+ string.find(function, "Create") != -1 or \
+ string.find(function, "Write") != -1:
return('fileoutput')
return('filepath')
if res == 'void_ptr':