Merge lp:~zorba-coders/zorba/test-bug-1070551 into lp:zorba/security-module

Proposed by Matthias Brantner
Status: Merged
Approved by: David Graf
Approved revision: 24
Merged at revision: 24
Proposed branch: lp:~zorba-coders/zorba/test-bug-1070551
Merge into: lp:zorba/security-module
Diff against target: 18 lines (+9/-0)
2 files modified
test/ExpQueryResults/security/hash-binary2.xml.res (+1/-0)
test/Queries/security/hash-binary2.xq (+8/-0)
To merge this branch: bzr merge lp:~zorba-coders/zorba/test-bug-1070551
Reviewer Review Type Date Requested Status
David Graf (community) Approve
Matthias Brantner Approve
Review via email: mp+131101@code.launchpad.net

Commit message

test to cover bug 1070551 (zerr:ZOSE0003 stream read failure)

Description of the change

test to cover bug 1070551 (zerr:ZOSE0003 stream read failure)

To post a comment you must log in.
Revision history for this message
Matthias Brantner (matthias-brantner) wrote :
Revision history for this message
Matthias Brantner (matthias-brantner) :
review: Approve
Revision history for this message
David Graf (davidagraf) :
review: Approve
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :
Revision history for this message
Zorba Build Bot (zorba-buildbot) wrote :

Validation queue job test-bug-1070551-2012-10-24T11-31-38.275Z is finished. The final status was:

All tests succeeded!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'test/ExpQueryResults/security/hash-binary2.xml.res'
2--- test/ExpQueryResults/security/hash-binary2.xml.res 1970-01-01 00:00:00 +0000
3+++ test/ExpQueryResults/security/hash-binary2.xml.res 2012-10-23 21:18:19 +0000
4@@ -0,0 +1,1 @@
5+true
6
7=== added file 'test/Queries/security/hash-binary2.xq'
8--- test/Queries/security/hash-binary2.xq 1970-01-01 00:00:00 +0000
9+++ test/Queries/security/hash-binary2.xq 2012-10-23 21:18:19 +0000
10@@ -0,0 +1,8 @@
11+import module namespace f = "http://expath.org/ns/file";
12+import module namespace hash = "http://www.zorba-xquery.com/modules/cryptography/hash";
13+
14+variable $f := f:read-binary(resolve-uri("ls"));
15+
16+variable $h := hash:sha1-binary($f);
17+
18+starts-with(<a attr="{$h || $f}"/>/@attr, "CT6WCSr3")

Subscribers

People subscribed via source and target branches

to all changes: