summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/setupSuite.sh
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:34:13 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:34:13 (GMT)
commit67ad0519fd165acee4a4d2a94fa502e9e4847bd0 (patch)
tree1dbf50b3dff8d5ca7e9344733968c72704eb15ff /tests/auto/qxmlstream/setupSuite.sh
downloadQt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.zip
Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.gz
Qt-67ad0519fd165acee4a4d2a94fa502e9e4847bd0.tar.bz2
Long live Qt!
Diffstat (limited to 'tests/auto/qxmlstream/setupSuite.sh')
-rwxr-xr-xtests/auto/qxmlstream/setupSuite.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/qxmlstream/setupSuite.sh b/tests/auto/qxmlstream/setupSuite.sh
new file mode 100755
index 0000000..56d7bf3
--- /dev/null
+++ b/tests/auto/qxmlstream/setupSuite.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# Hello!
+#
+# You don't have to run this script unless you are actually updating the test suite.
+# For precaution, we therefore have this exit call.
+
+
+# CVS is retarded when it comes to reverting changes. Remove files it has moved.
+find XML-Test-Suite/ -name ".*.?.*" | xargs rm
+
+cd XML-Test-Suite
+
+export CVSROOT=":pserver:anonymous@dev.w3.org:/sources/public"
+cvs -q up -C
+
+p4 edit ...
+p4 revert `find -name "Entries"` # They only contain CVS timestamps.
+xmllint --valid --noent xmlconf/xmlconf.xml --output xmlconf/finalCatalog.xml
+p4 revert -a ...