@cryptotaxi247 / kubo / commits / e24b09f82

test: comment out extra output in add_and_cat

Juan Batiz-Benet committed Nov 18, 2014 at 06:21 UTC e24b09f82da1f906ad952c6713886e7756d577a9
1 file changed +7 -5
test/t0040-add-and-cat.sh
+7 -5
@@ -63,13 +63,15 @@ test_expect_success "ipfs add bigfile output looks good" '
63 '
64
65 test_expect_success "ipfs cat succeeds" '
66 - ipfs cat $HASH >actual &&
67 - cat actual | shasum >sha1_actual
66 + ipfs cat $HASH | shasum >sha1_actual
67 '
68
70 -test_expect_success "ipfs cat output looks good" '
71 - test_cmp mountdir/bigfile actual
72 -'
69 +# this test commented out to run faster.
70 +# uncomment to produce and examine output
71 +# test_expect_success "ipfs cat output looks good" '
72 +# ipfs cat $HASH >actual &&
73 +# test_cmp mountdir/bigfile actual
74 +# '
75
76 test_expect_success "ipfs cat output shasum looks good" '
77 echo "885b197b01e0f7ff584458dc236cb9477d2e736d -" >sha1_expected &&