Commit 30f28c00 authored by Christian Couder's avatar Christian Couder Committed by Juan Batiz-Benet

Adapt t0040 to output from ipfs2

The ouput from "ipfs add" changed in ipfs2.
With the changes in this commit, this output change doesn't
prevent the test to pass.

With TEST_NO_FUSE=1 test t0040 now passes on my Linux machine.

License: MIT
Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
parent 57689ffc
...@@ -17,7 +17,7 @@ test_expect_success "ipfs add succeeds" ' ...@@ -17,7 +17,7 @@ test_expect_success "ipfs add succeeds" '
test_expect_success "ipfs add output looks good" ' test_expect_success "ipfs add output looks good" '
HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" && HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" &&
echo "added $HASH $(pwd)/mountdir/hello.txt" >expected && echo "added $HASH mountdir/hello.txt" >expected &&
test_cmp expected actual test_cmp expected actual
' '
...@@ -58,7 +58,7 @@ test_expect_success "ipfs add bigfile succeeds" ' ...@@ -58,7 +58,7 @@ test_expect_success "ipfs add bigfile succeeds" '
test_expect_success "ipfs add bigfile output looks good" ' test_expect_success "ipfs add bigfile output looks good" '
HASH="QmWXysX1oysyjTqd5xGM2T1maBaVXnk5svQv4GKo5PsGPo" && HASH="QmWXysX1oysyjTqd5xGM2T1maBaVXnk5svQv4GKo5PsGPo" &&
echo "added $HASH $(pwd)/mountdir/bigfile" >expected && echo "added $HASH mountdir/bigfile" >expected &&
test_cmp expected actual test_cmp expected actual
' '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment