qt6windows7/tests/auto/corelib/serialization/qxmlstream/setupSuite.sh
2023-10-29 23:33:08 +01:00

22 lines
677 B
Bash

#!/bin/sh
# Copyright (C) 2016 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#
# 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
git checkout -- `find -name "Entries"` # They only contain CVS timestamps.
xmllint --valid --noent xmlconf/xmlconf.xml --output xmlconf/finalCatalog.xml