diff --git a/t/t1002-kvs-extra.t b/t/t1002-kvs-extra.t index a8f82ae31667..b511feaa25e5 100755 --- a/t/t1002-kvs-extra.t +++ b/t/t1002-kvs-extra.t @@ -297,6 +297,16 @@ test_expect_success 'kvs: valref that points to content store data can be read' flux kvs get $TEST.largeval2 | grep $largeval ' +# multi-blobref valrefs + +test_expect_success 'kvs: multi blob-ref valref can be read' ' + flux kvs unlink -Rf $TEST && + hashval1=`echo -n "abcd" | flux content store` && + hashval2=`echo -n "efgh" | flux content store` && + ${KVSBASIC} put-treeobj $TEST.multival="{\"data\":[\"${hashval1}\", \"${hashval2}\"],\"type\":\"valref\",\"ver\":1}" && + ${KVSBASIC} copy-fromkvs $TEST.multival - | grep "abcdefgh" +' + # dtree tests test_expect_success 'kvs: store 16x3 directory tree' '