Fix rhizome op test that used recipient field

This commit is contained in:
Jeremy Lakeman 2016-05-31 13:05:06 +09:30
parent 802310c6f1
commit ce2131870c

View File

@ -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
}