~paul-lucas/zorba/bug-928340

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/versioning/import6.xq

  • Committer: Tarmac
  • Author(s): chillery+launchpad at lambda
  • Date: 2012-02-05 17:23:06 UTC
  • mfrom: (10643.1.1 fix-website-failures)
  • Revision ID: tarmac-20120205172306-qwqpdoh2eg8fq86n
Several fixes related to test breakages caused by zorba-xquery.com changes:
1. Don't attempt HTTP resolution w/ HttpStream if Zorba compiled without CURL.
2. store/example_3 test: load content from zorbatest site like other tests.
3. fetch_bogus2 and impot5 test: change "ver" test module to be identified with a flworfound.org URI, so we'll get a 404 when loading it wrong.  (Both example.com and zorba-xquery.com don't return 404 for unknown URLs.)
 Approved: Matthias Brantner, Chris Hillery

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
(: Test that an exact import with non-0 patch level does not match :)
2
2
(: module with no patch level specified. :)
3
 
import module namespace vm = "http://www.zorba-xquery.com/modules/ver#2.3.5!";
 
3
import module namespace vm = "http://www.flworfound.org/modules/ver#2.3.5!";
4
4
 
5
5
vm:version()
6
6