summaryrefslogtreecommitdiff
path: root/tests/namespaces
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-03-12 05:03:50 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-03-12 05:03:50 +0000
commitd970e5676e798f4336bf0e7a7754083dfd518aef (patch)
tree796824b8e0e50db5671b68a32e541b8d3e83a9bb /tests/namespaces
parent3ab996adeb35130c577fc8bd5ac419ae3bd6fb3a (diff)
downloadlibxslt-d970e5676e798f4336bf0e7a7754083dfd518aef.tar.gz
libxslt-d970e5676e798f4336bf0e7a7754083dfd518aef.tar.bz2
libxslt-d970e5676e798f4336bf0e7a7754083dfd518aef.zip
added additional check to prevent superfluous namespace href's being
* libxslt/namespaces.c: added additional check to prevent superfluous namespace href's being generated on elements (bug 136914) * tests/namespaces/Makefile.am, tests/namespaces/tst5.x[ms]l: added new test for bug 136914 * tests/namespaces, tests/extensions/ tests/reports: fixed error in "enhanced" Makefile.am, removed superfluous .err files from cvs
Diffstat (limited to 'tests/namespaces')
-rw-r--r--tests/namespaces/Makefile.am12
-rw-r--r--tests/namespaces/extra.err0
-rw-r--r--tests/namespaces/tst.err0
-rw-r--r--tests/namespaces/tst2.err0
-rw-r--r--tests/namespaces/tst3.err0
-rw-r--r--tests/namespaces/tst4.err0
6 files changed, 7 insertions, 5 deletions
diff --git a/tests/namespaces/Makefile.am b/tests/namespaces/Makefile.am
index ee748dc5..2d76ec6d 100644
--- a/tests/namespaces/Makefile.am
+++ b/tests/namespaces/Makefile.am
@@ -4,11 +4,13 @@ $(top_builddir)/xsltproc/xsltproc:
@(cd ../../xsltproc ; $(MAKE) xsltproc)
EXTRA_DIST = \
+ extra.xml extra.xsl extra.out \
+ extra2.xml extra2.xsl extra2.out \
tst.xml tst.xsl tst.out \
tst2.xml tst2.xsl tst2.out \
tst3.xml tst3.xsl tst3.out \
- extra.out extra.xml extra.xsl \
- extra2.out extra2.xml extra2.xsl
+ tst4.xml tst4.xsl tst4.out \
+ tst5.xml tst5.xsl tst5.out
all:
@@ -19,10 +21,10 @@ valgrind:
test tests: $(top_builddir)/xsltproc/xsltproc
@echo '## Running namespaces tests'
@(echo > .memdump)
- -@(for i in $(srcdir)/../docs/*.xml ; do \
+ -@(for i in $(srcdir)/*.xml ; do \
if [ -d $$i ] ; then continue ; fi ; \
doc=`basename $$i .xml` ; \
- for j in $(srcdir)/$$doc*.xsl ; do \
+ j=$(srcdir)/$$doc.xsl ; \
if [ ! -f $$j ] ; then continue ; fi ; \
if [ -d $$j ] ; then continue ; fi ; \
name=`basename $$j .xsl`; \
@@ -49,5 +51,5 @@ test tests: $(top_builddir)/xsltproc/xsltproc
echo $$log ; \
fi ; \
rm -f result.$$name err.$$name; \
- done ; done)
+ done)
diff --git a/tests/namespaces/extra.err b/tests/namespaces/extra.err
deleted file mode 100644
index e69de29b..00000000
--- a/tests/namespaces/extra.err
+++ /dev/null
diff --git a/tests/namespaces/tst.err b/tests/namespaces/tst.err
deleted file mode 100644
index e69de29b..00000000
--- a/tests/namespaces/tst.err
+++ /dev/null
diff --git a/tests/namespaces/tst2.err b/tests/namespaces/tst2.err
deleted file mode 100644
index e69de29b..00000000
--- a/tests/namespaces/tst2.err
+++ /dev/null
diff --git a/tests/namespaces/tst3.err b/tests/namespaces/tst3.err
deleted file mode 100644
index e69de29b..00000000
--- a/tests/namespaces/tst3.err
+++ /dev/null
diff --git a/tests/namespaces/tst4.err b/tests/namespaces/tst4.err
deleted file mode 100644
index e69de29b..00000000
--- a/tests/namespaces/tst4.err
+++ /dev/null