From 15e2e2f5c7f9b3b94772d9d8b66b107ef6691bb4 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 19 Sep 2007 23:00:22 +0000 Subject: Stop TestObject appending .xml to the filename -- the auto-generated testcases already have it appended. Fixup binding testcase appropriately. svn path=/trunk/dom/; revision=3552 --- test/binding.c | 2 +- test/testutils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/binding.c b/test/binding.c index 8c621ab..a06763c 100644 --- a/test/binding.c +++ b/test/binding.c @@ -9,7 +9,7 @@ int main(int argc, char **argv) dom_exception err; TestObject *staff; - staff = test_object_create(argc, argv, "staff", false); + staff = test_object_create(argc, argv, "staff.xml", false); assert(staff != NULL); doc = test_object_get_doc(staff); diff --git a/test/testutils.h b/test/testutils.h index 8387636..e3009af 100644 --- a/test/testutils.h +++ b/test/testutils.h @@ -90,7 +90,7 @@ TestObject *test_object_create(int argc, char **argv, xml_parser_initialised = true; } - snprintf(fnbuf, sizeof fnbuf, "%s/%s.xml", argv[1], uri); + snprintf(fnbuf, sizeof fnbuf, "%s/%s", argv[1], uri); ret = malloc(sizeof(TestObject)); if (ret == NULL) -- cgit v1.2.3