mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 00:23:50 +00:00
test 8 (rhizome import via http post using curl) almost works
(something broken in merge of AB and PGS changes -- will investigate once merge complete). #9
This commit is contained in:
parent
132cfd6fec
commit
40dff25814
@ -286,8 +286,6 @@ setup_Push() {
|
||||
}
|
||||
test_Push() {
|
||||
executeOk_servald rhizome direct push
|
||||
assert bundle_received_by $BID2 $VERSION2 +A
|
||||
assert ! bundle_received_by $BID1 $VERSION1 +B
|
||||
set_instance +A
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1 file2
|
||||
@ -336,7 +334,7 @@ setup_HttpAddLocal() {
|
||||
}
|
||||
test_HttpAddLocal() {
|
||||
echo 'File file1' >file1
|
||||
executeOk curl --silent --form 'data=@file1' "$addr_localhost:$PORTA" --output file1.manifest
|
||||
executeOk curl --silent --form 'data=@file1' "http://$addr_localhost:$PORTA/rhizome/import" --output file1.manifest
|
||||
assert_manifest_complete file1.manifest
|
||||
executeOk_servald rhizome list ''
|
||||
assert_rhizome_list file1
|
||||
|
Loading…
x
Reference in New Issue
Block a user