aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xgentest.py4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d0e2ea1..065dad9b 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 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':