File tree 4 files changed +6
-118
lines changed
4 files changed +6
-118
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ DIR_CID=$(ipfs add -Qr --cid-version 1 testdirlisting)
39
39
echo DIR_CID=${DIR_CID} # ./testdirlisting
40
40
41
41
ipfs files mkdir /t0114/
42
- ipfs files cp /ipfs/${CIDv1} /t0114/
43
- ipfs files cp /ipfs/${CIDv0} /t0114/
44
- ipfs files cp /ipfs/${CIDv0to1} /t0114/
45
- ipfs files cp /ipfs/${DIR_CID} /t0114/
46
- ipfs files cp /ipfs/${CIDv1_TOO_LONG} /t0114/
42
+ ipfs files cp /ipfs/${CIDv1} /t0114/hello-CIDv1
43
+ ipfs files cp /ipfs/${CIDv0} /t0114/hello-CIDv0
44
+ ipfs files cp /ipfs/${CIDv0to1} /t0114/hello-CIDv0to1
45
+ ipfs files cp /ipfs/${DIR_CID} /t0114/testdirlisting
46
+ ipfs files cp /ipfs/${CIDv1_TOO_LONG} /t0114/hello-CIDv1_TOO_LONG
47
47
48
48
ROOT=` ipfs files stat /t0114/ --hash`
49
49
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ func TestGatewaySubdomainAndIPNS(t *testing.T) {
21
21
ed25519Fixture := ipns .MustOpenIPNSRecordWithKey ("subdomain_gateway/12D3KooWLQzUv2FHWGVPXTXSZpdHs7oHbXub2G5WC8Tx4NQhyd2d.ipns-record" )
22
22
23
23
car := car .MustOpenUnixfsCar ("subdomain_gateway/fixtures.car" )
24
- helloCID := "bafkreicysg23kiwv34eg2d7qweipxwosdo2py4ldv42nbauguluen5v6am"
25
- payload := string (car .MustGetRawData (helloCID ))
24
+ payload := string (car .MustGetRawData ("hello-CIDv1" ))
26
25
27
26
// We're going to run the same test against multiple gateways (localhost, and a subdomain gateway)
28
27
gatewayURLs := []string {
You can’t perform that action at this time.
0 commit comments