@@ -422,7 +422,7 @@ test_add_cat_raw() {
422
422
'
423
423
424
424
test_expect_success " zero length file has correct hash" '
425
- test "$ZEROHASH" = zb2rhmy65F3REf8SZp7De11gxtECBGgUKaLdiDj7MCGCHxbDW
425
+ test "$ZEROHASH" = bafkreihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku
426
426
'
427
427
428
428
test_expect_success " cat zero length file" '
@@ -715,23 +715,23 @@ VENUS="QmU5kp3BH3B8tnWUU2Pikdb2maksBNkb92FHRr56hyghh4"
715
715
add_directory
716
716
717
717
PLANETS=" QmfWfQfKCY5Ukv9peBbxM5vqWM9BzmqUSXvdCgjT2wsiBT"
718
- MARS=" zb2rhZdTkQNawVajsTNiYc9cTPHqgLdJVvBRkZok9RjkgQYRU "
719
- VENUS=" zb2rhn6TGvnUaMAg4VV4y9HVx5W42HihcH4jsyrDv8mkepFqq "
718
+ MARS=" bafkreibmlvvgdyihetgocpof6xk64kjjzdeq2e4c7hqs3krdheosk4tgj4 "
719
+ VENUS=" bafkreihfsphazrk2ilejpekyltjeh5k4yvwgjuwg26ueafohqioeo3sdca "
720
720
add_directory ' --raw-leaves'
721
721
722
- PLANETS=" zdj7Wnbun6P41Z5ddTkNvZaDTmQ8ZLdiKFcJrL9sV87rPScMP "
723
- MARS=" zb2rhZdTkQNawVajsTNiYc9cTPHqgLdJVvBRkZok9RjkgQYRU "
724
- VENUS=" zb2rhn6TGvnUaMAg4VV4y9HVx5W42HihcH4jsyrDv8mkepFqq "
722
+ PLANETS=" bafybeih7e5dmkyk25up5vxug4q3hrg2fxbzf23dfrac2fns5h7z4aa7ioi "
723
+ MARS=" bafkreibmlvvgdyihetgocpof6xk64kjjzdeq2e4c7hqs3krdheosk4tgj4 "
724
+ VENUS=" bafkreihfsphazrk2ilejpekyltjeh5k4yvwgjuwg26ueafohqioeo3sdca "
725
725
add_directory ' --cid-version=1'
726
726
727
- PLANETS=" zdj7WiC51v78BjBcmZR7uuBvmDWxSn5EDr5MiyTwE18e8qvb7 "
728
- MARS=" zdj7WWx6fGNrNGkdpkuTAxCjKbQ1pPtarqA6VQhedhLTZu34J "
729
- VENUS=" zdj7WbB1BUF8WejmVpQCmMLd1RbPnxJtvAj1Lep6eTmXRFbrz "
727
+ PLANETS=" bafybeif5tuep5ap2d7zyhbktucey75aoacxufgt6i3v4gebmixyipnyp7y "
728
+ MARS=" bafybeiawta2ntdmsy24aro35w3homzl4ak7svr3si7l7gesvq4erglyye4 "
729
+ VENUS=" bafybeicvkvhs2fr75ynebtdjqpgm4g2fc63abqbmysupwpmcjl4gx7mzrm "
730
730
add_directory ' --cid-version=1 --raw-leaves=false'
731
731
732
- PLANETS=" zDMZof1kqxDAx9myQbXsyWwyWP9qRPsXsWH7XuTz6isT7Rh1S6nM "
733
- MARS=" zCT5htkdz1ZBHYVQXFQn51ngPXLVqaHSWoae87V1d6e9qWpSAjXw "
734
- VENUS=" zCT5htke5JcdoMM4WhmUKXWf2QC3TnQToqGZHH1WsZERv6kPhFPg "
732
+ PLANETS=" bafykbzaceaptbcs7ik5mdfpot3b4ackvxlwh7loc5jcrtkayf64ukl7zyk46e "
733
+ MARS=" bafk2bzaceaqcxw46uzkyd2jmczoogof6pnkqt4dpiv3pwkunsv4g5rkkmecie "
734
+ VENUS=" bafk2bzacebxnke2fb5mgzxyjuuavvcfht4fd3gvn4klkujz6k72wboynhuvfw "
735
735
add_directory ' --hash=blake2b-256'
736
736
737
737
test_expect_success " 'ipfs add -rn' succeeds" '
@@ -769,32 +769,32 @@ test_add_cat_5MB --raw-leaves "QmbdLHCmdi48eM8T7D67oXjA1S2Puo8eMfngdHhdPukFd6"
769
769
770
770
# note: the specified hash implies that internal nodes are stored
771
771
# using CidV1 and leaves are stored using raw blocks
772
- test_add_cat_5MB --cid-version=1 " zdj7WiiaedqVBXjX4SNqx3jfuZideDqdLYnDzCDJ66JDMK9o2 "
772
+ test_add_cat_5MB --cid-version=1 " bafybeigfnx3tka2rf5ovv2slb7ymrt4zbwa3ryeqibe6fipyt5vgsrli3u "
773
773
774
774
# note: the specified hash implies that internal nodes are stored
775
775
# using CidV1 and leaves are stored using CidV1 but using the legacy
776
776
# format (i.e. not raw)
777
- test_add_cat_5MB ' --cid-version=1 --raw-leaves=false' " zdj7WfgEsj897BBZj2mcfsRLhaPZcCixPV2G7DkWgF1Wdr64P "
777
+ test_add_cat_5MB ' --cid-version=1 --raw-leaves=false' " bafybeieyifrgpjn3yengthr7qaj72ozm2aq3wm53srgeprc43w67qpvfqa "
778
778
779
779
# note: --hash=blake2b-256 implies --cid-version=1 which implies --raw-leaves=true
780
780
# the specified hash represents the leaf nodes stored as raw leaves and
781
781
# encoded with the blake2b-256 hash funtion
782
- test_add_cat_5MB ' --hash=blake2b-256' " zDMZof1kuxn7ebvKyvmkYLPvocSvFYxxAWT1yQBN1wWiXXr7w5mY "
782
+ test_add_cat_5MB ' --hash=blake2b-256' " bafykbzacebnmjcl4sn37b3ehtibvf263oun2w6idghenrvlpehq5w5jqyvhjo "
783
783
784
784
# the specified hash represents the leaf nodes stored as protoful nodes and
785
785
# encoded with the blake2b-256 hash funtion
786
- test_add_cat_5MB ' --hash=blake2b-256 --raw-leaves=false' " zDMZof1krz3SFTyhboRyWZyUP2qNgVdn9wjtaX211aHJ8WgeyT9v "
786
+ test_add_cat_5MB ' --hash=blake2b-256 --raw-leaves=false' " bafykbzaceaxiiykzgpbhnzlecffqm3zbuvhujyvxe5scltksyafagkyw4rjn2 "
787
787
788
788
test_add_cat_expensive " " " QmU9SWAPPmNEKZB8umYMmjYvN7VyHqABNvdA6GUi4MMEz3"
789
789
790
790
# note: the specified hash implies that internal nodes are stored
791
791
# using CidV1 and leaves are stored using raw blocks
792
- test_add_cat_expensive " --cid-version=1" " zdj7WcatQrtuE4WMkS4XsfsMixuQN2po4irkYhqxeJyW1wgCq "
792
+ test_add_cat_expensive " --cid-version=1" " bafybeidkj5ecbhrqmzrcee2rw7qwsx24z3364qya3fnp2ktkg2tnsrewhi "
793
793
794
794
# note: --hash=blake2b-256 implies --cid-version=1 which implies --raw-leaves=true
795
795
# the specified hash represents the leaf nodes stored as raw leaves and
796
796
# encoded with the blake2b-256 hash funtion
797
- test_add_cat_expensive ' --hash=blake2b-256' " zDMZof1kwndounDzQCANUHjiE3zt1mPEgx7RE3JTHoZrRRa79xcv "
797
+ test_add_cat_expensive ' --hash=blake2b-256' " bafykbzaceb26fnq5hz5iopzamcb4yqykya5x6a4nvzdmcyuu4rj2akzs3z7r6 "
798
798
799
799
test_add_named_pipe " Post http://$API_ADDR /api/v0/add?chunker=size-262144&encoding=json&hash=sha2-256&inline-limit=32&pin=true&progress=true&recursive=true&stream-channels=true:"
800
800
0 commit comments