fixed test file corruption problem
* gentest.py: fixed test file corruption problem
diff --git a/ChangeLog b/ChangeLog
index 5d0e2ea..065dad9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Nov 8 10:24:28 HKT 2004 William Brack <wbrack@mmm.com.hk>
+
+ * gentest.py: fixed test file corruption problem
+
Sun Nov 7 13:18:05 CET 2004 Daniel Veillard <daniel@veillard.com>
* gentest.py testapi.c: fixed typos and avoid Catalogs verbosity
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':