Andrew Bettison
ebbae38cdd
Update dna_rhizome test script
...
Manifests no longer carry 'first_byte' and 'last_byte' fields
2012-05-16 16:05:29 +09:30
Andrew Bettison
4ae3c95992
"rhizome list" command filter by datavalid
2012-05-07 10:25:30 +09:30
Andrew Bettison
97884ba069
Fix bug in output from "rhizome add file"
...
When a duplicate is detected, the 'manifestid' field must contain the public
key of the existing manifest.
2012-05-04 15:59:58 +09:30
Andrew Bettison
f31c326871
CLI output from "rhizome add file", with tests
2012-05-04 15:31:03 +09:30
Andrew Bettison
e230bbc40b
Improve output from "rhizome extract manifest"
2012-05-03 12:17:49 +09:30
Andrew Bettison
7ba15ccdd7
Add "rhizome extract file" command with tests
2012-05-02 17:57:35 +09:30
Andrew Bettison
6e959fd34c
More tests for "rhizome extract manifest"
...
Proper handling of unknown and invalid manifest IDs
2012-05-02 16:24:27 +09:30
Andrew Bettison
572f8a3a93
Improve test for "rhizome extract manifest"
2012-05-02 16:08:27 +09:30
Andrew Bettison
146eb7cdfd
Add "rhizome extract manifest" command
2012-05-02 16:03:09 +09:30
Andrew Bettison
72640ade4c
First output field of "rhizome list" is column count
2012-04-26 15:54:40 +09:30
Andrew Bettison
f9d8536d7d
JNI-ize the output of "dna rhizome list"
2012-04-24 17:50:27 +09:30
Andrew Bettison
d53915d354
Fix test framework for Mac OS X 10.7 (bash-3.2.48)
2012-04-17 16:54:39 +09:30
Andrew Bettison
866ddea189
Get all rhizome add file test cases passing
...
- new test cases to cover new payload with different versions
- exit status of 2 when duplicate is detected
- tighten up other test cases
- fix bug in sqlite_exec_int64()
2012-04-16 11:46:58 +09:30
Andrew Bettison
edde2ac8c9
Add new rhizome test case
...
- updating the payload of a bundle should fail if version number is not
increased
2012-04-13 18:03:19 +09:30
Andrew Bettison
de88d3db21
Make "dna rhizome add" work for more test cases
...
- adding a bundle using an existing manifest with an incorrect payload should
fail with an error
- adding a bundle using an existing manifest to update the payload to a new
version should succeed
- improve format of "dna rhizome list" output to one bundle per line
2012-04-13 18:03:19 +09:30
Andrew Bettison
af00de165a
Enable rhizome debug messages in rhizome tests
2012-04-12 18:33:43 +09:30
Andrew Bettison
c4e3249839
Improve test framework
...
- new execute() option: --exit-status=N
equivalent to assertExitStatus --stderr '==' N
- new executeOk() function, shortcut for execute --exit-status=0
2012-04-12 18:33:43 +09:30
Andrew Bettison
fab1df61e1
Improve test framework
...
- add assertStdoutLineCount/assertStderrLineCount functions
- remove spurious "# assert" log output lines
2012-04-12 18:33:43 +09:30
Andrew Bettison
51b5cf8b54
Fix bugs in assertGrep and a rhizome test case
2012-04-10 18:13:05 +09:30
Andrew Bettison
6988fb7dd9
Add four dna rhizome test cases
2012-04-10 18:13:05 +09:30