@cryptotaxi247 / kubo / commits / 4bf3e967d

test/t0040-add-and-cat updated hashes (new random)

Juan Batiz-Benet committed Nov 8, 2014 at 19:32 UTC 4bf3e967d8cc61776bb028bb5103d386ee89a792
1 file changed +3 -3
test/t0040-add-and-cat.sh
+3 -3
@@ -47,7 +47,7 @@ test_expect_success "generate 100MB file using go-random" '
47 '
48
49 test_expect_success "sha1 of the file looks ok" '
50 - echo "54dc0dbbc353b2ffb745285793f89af0c9d98449 mountdir/bigfile" >sha1_expected &&
50 + echo "ae986dd159e4f014aee7409cdc2001ea74f618d1 mountdir/bigfile" >sha1_expected &&
51 shasum mountdir/bigfile >sha1_actual &&
52 test_cmp sha1_expected sha1_actual
53 '
@@ -57,7 +57,7 @@ test_expect_success "ipfs add bigfile succeeds" '
57 '
58
59 test_expect_success "ipfs add bigfile output looks good" '
60 - HASH="QmeZVkWkDu4W1vxWdDgUbqKYba9K3u45hJEdPA4Wr2sHZz" &&
60 + HASH="QmVm3Da371opC3hpsCLuYSozdyM6wRvu9UoUqoyW8u4LRq" &&
61 echo "added $HASH $(pwd)/mountdir/bigfile" >expected &&
62 test_cmp expected actual
63 '
@@ -67,7 +67,7 @@ test_expect_success "ipfs cat succeeds" '
67 '
68
69 test_expect_success "ipfs cat output looks good" '
70 - echo "54dc0dbbc353b2ffb745285793f89af0c9d98449 -" >sha1_expected &&
70 + echo "ae986dd159e4f014aee7409cdc2001ea74f618d1 -" >sha1_expected &&
71 test_cmp sha1_expected sha1_actual
72 '
73