Add FD test.

pull/193/head
Michael R Sweet 21 years ago
parent 3cc3f8a63d
commit 243e9c1556
  1. 1
      CHANGES
  2. 14
      Makefile.in
  3. 4
      doc/relnotes.html

@ -4,6 +4,7 @@ CHANGES - 07/11/2004
CHANGES IN Mini-XML 2.1 CHANGES IN Mini-XML 2.1
- Added mxmlLoadFd() and mxmlSaveFd() functions. - Added mxmlLoadFd() and mxmlSaveFd() functions.
- Fixed multi-word UTF-16 handling.
CHANGES IN Mini-XML 2.0 CHANGES IN Mini-XML 2.0

@ -1,5 +1,5 @@
# #
# "$Id: Makefile.in,v 1.22 2004/06/25 18:59:32 mike Exp $" # "$Id: Makefile.in,v 1.23 2004/07/11 13:26:25 mike Exp $"
# #
# Makefile for Mini-XML, a small XML-like file parsing library. # Makefile for Mini-XML, a small XML-like file parsing library.
# #
@ -220,10 +220,10 @@ testmxml: libmxml.a testmxml.o
./testmxml test.xml >temp1.xml 2>temp1s.xml ./testmxml test.xml >temp1.xml 2>temp1s.xml
./testmxml temp1.xml >temp2.xml 2>temp2s.xml ./testmxml temp1.xml >temp2.xml 2>temp2s.xml
@if cmp temp1.xml temp2.xml; then \ @if cmp temp1.xml temp2.xml; then \
echo File test passed!; \ echo Stdio file test passed!; \
$(RM) temp2.xml temp2s.xml; \ $(RM) temp2.xml temp2s.xml; \
else \ else \
echo File test failed!; \ echo Stdio file test failed!; \
fi fi
@if cmp temp1.xml temp1s.xml; then \ @if cmp temp1.xml temp1s.xml; then \
echo String test passed!; \ echo String test passed!; \
@ -231,6 +231,12 @@ testmxml: libmxml.a testmxml.o
else \ else \
echo String test failed!; \ echo String test failed!; \
fi fi
@if cmp test.xml test.xmlfd; then \
echo File descriptor test passed!; \
$(RM) test.xmlfd; \
else \
echo File descriptor test failed!; \
fi
testmxml.o: mxml.h testmxml.o: mxml.h
@ -257,5 +263,5 @@ $(OBJS): Makefile config.h
# #
# End of "$Id: Makefile.in,v 1.22 2004/06/25 18:59:32 mike Exp $". # End of "$Id: Makefile.in,v 1.23 2004/07/11 13:26:25 mike Exp $".
# #

@ -7,7 +7,9 @@
<ul> <ul>
<li>Added mxmlLoadFd() and mxmlSaveFd() functions. <li>Added mxmlLoadFd() and mxmlSaveFd() functions.</li>
<li>Fixed multi-word UTF-16 handling.</li>
</ul> </ul>

Loading…
Cancel
Save