Hello everyone,
in the past weeks, I put together "xmldumps-test"---a test suite for
Ariel's xmldumps-backup software. xmldumps-test tries to assure that
the MySQL database, MediaWiki, and xmldumps-backup play nicely
together.
xmldumps-test injects data into the database (so do not use it on a
live database), starts xmldumps-backup, and compares the generated XML
dumps against pre-verified data.
Using xmldumps-test I hope to catch problems caused by modifications
to MediaWiki or xmldumps-backup /before/ they hit Wikimedia's
production servers dumping enwiki, ...
The code is up for review at
https://gerrit.wikimedia.org/r/p/operations/dumps/test.git
.
README serves as general point of entry to the documentation.
README.installation shows you how to set up xmldumps-test.
After setup is completed,
./run_tests.sh
runs all available tests.
xmldumps-test comes with tests for REL1_1{7,8,9} and trunk.
I'd love to get some feedback, or comments on the scripts.
Best regards,
Christian
--
---- quelltextlich e.U. ---- \\ ---- Christian Aistleitner ----
Companies' registry: 360296y in Linz
Christian Aistleitner
Gruendbergstrasze 65a Email: christian(a)quelltextlich.at
4040 Linz, Austria Phone: +43 732 / 26 95 63
Fax: +43 732 / 26 95 63
Homepage:
http://quelltextlich.at/
---------------------------------------------------------------