diff options
author | Honglei Zhang <honglei.zhang@nokia.com> | 2011-08-22 11:42:41 (GMT) |
---|---|---|
committer | Honglei Zhang <honglei.zhang@nokia.com> | 2011-08-24 11:20:20 (GMT) |
commit | 33f65993866e3eb2a80001f1b53f38dbfc7017ce (patch) | |
tree | a55a42043aca2435a80f5270331e0c2c1ed94495 /tests/auto/xmlpatternsxslts/XSLTS | |
parent | 49dd6e2978759a3fc46016d82a46d8ee8b609221 (diff) | |
download | Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.zip Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.tar.gz Qt-33f65993866e3eb2a80001f1b53f38dbfc7017ce.tar.bz2 |
Enable running of XQuery test suite
Some xmlpatterns auto test cases are still using old script. And some
small bugs in test driver prevent the XQuery test suite testing. This
commit updated the out-of-date scripts and fixes couple of bugs in test
driver.
Task-number: QTBUG-16028
Reviewed-by: Dmitry Trofimov
Diffstat (limited to 'tests/auto/xmlpatternsxslts/XSLTS')
-rwxr-xr-x | tests/auto/xmlpatternsxslts/XSLTS/updateSuite.sh | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/tests/auto/xmlpatternsxslts/XSLTS/updateSuite.sh b/tests/auto/xmlpatternsxslts/XSLTS/updateSuite.sh index 52a5b07..1bac5ec 100755 --- a/tests/auto/xmlpatternsxslts/XSLTS/updateSuite.sh +++ b/tests/auto/xmlpatternsxslts/XSLTS/updateSuite.sh @@ -47,14 +47,21 @@ # when the test suite is publically released, it is possible as # according to W3C's usual license agreements. -echo "*** This script typically doesn't need to be run, and it needs to be updated anyway." -exit 1 +echo "*** This script typically doesn't need to be run. Test Suite is not available. So, this test is only a place holder! ***" +exit 0 + +# Download the test suite +TMPFILE='tmpfile' +wget http://www.w3.org/Style/XSL/XSL-TestSuite.zip -O $TMPFILE +unzip $TMPFILE +rm $TMPFILE + # This is W3C's internal CVS server, not the public dev.w3.org. -export CVSROOT="fenglich@cvs.w3.org:path is currently unknown" +# export CVSROOT="fenglich@cvs.w3.org:path is currently unknown" -echo "*** Enter 'anonymous' as password. ***" -cvs login +# echo "*** Enter 'anonymous' as password. ***" +# cvs login mv catalog.xml catalogUnresolved.xml xmllint --noent --output catalog.xml catalogUnresolved.xml |