summaryrefslogtreecommitdiffstats
path: root/tests/auto/qxmlstream/setupSuite.sh
blob: 56d7bf35f5acd139002a27faf5d00452ceaf3f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 ...