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

Proposed by Matthias Brantner on 2012-10-23
Status: Merged
Approved by: David Graf on 2012-10-24
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) 2012-10-23 Approve on 2012-10-24
Matthias Brantner Approve on 2012-10-23
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.
review: Approve
David Graf (davidagraf) :
review: Approve
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: