mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-07 11:08:36 +00:00
Fix rhizome op test that used recipient field
This commit is contained in:
parent
802310c6f1
commit
ce2131870c
@ -1035,7 +1035,7 @@ setup_AddReuseManifest() {
|
||||
setup_rhizome
|
||||
echo "First content" >file1
|
||||
echo "Second content" >file1a
|
||||
echo -e "service=wazoo\nunexpected=true\nrecipient=$SIDB1\nnothing=here" >file1.manifest
|
||||
echo -e "service=wazoo\nunexpected=true\nsender=$SIDB1\nnothing=here" >file1.manifest
|
||||
executeOk_servald rhizome add file $SIDA file1 file1.manifest
|
||||
tfw_cat --stderr
|
||||
extract_stdout_manifestid BID
|
||||
@ -1043,7 +1043,7 @@ setup_AddReuseManifest() {
|
||||
test_AddReuseManifest() {
|
||||
executeOk_servald rhizome add file --bundle=$BID $SIDA file1a file1a.manifest '' !nothing something=there
|
||||
tfw_cat --stderr
|
||||
assert_manifest_fields file1a.manifest service=wazoo unexpected=true recipient=$SIDB1 !nothing something=there
|
||||
assert_manifest_fields file1a.manifest service=wazoo unexpected=true sender=$SIDB1 !nothing something=there
|
||||
executeOk_servald rhizome export bundle $BID file1ax.manifest file1ax
|
||||
assert diff file1a file1ax
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user