aboutsummaryrefslogtreecommitdiffstats
path: root/gentest.py
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-11-08 02:26:08 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-11-08 02:26:08 +0000
commit83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8 (patch)
tree2fd471befeb001855ddbf953577198ed9cb82185 /gentest.py
parentfb5476f216f7e509f5e7c558a8a7f8a09f09d7bc (diff)
downloadandroid_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.tar.gz
android_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.tar.bz2
android_external_libxml2-83d9c37d7912fe496a3ab18ebeb2b7aeefe42bb8.zip
fixed test file corruption problem
* gentest.py: fixed test file corruption problem
Diffstat (limited to 'gentest.py')
-rwxr-xr-xgentest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gentest.py b/gentest.py
index b8603c24..77e81a00 100755
--- a/gentest.py
+++ b/gentest.py
@@ -200,7 +200,9 @@ def type_convert(str, name, info, module, function, pos):
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':