提交 30f28c00 作者: Christian Couder 提交者: 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: 's avatarChristian Couder <chriscool@tuxfamily.org>
上级 57689ffc
......@@ -17,7 +17,7 @@ test_expect_success "ipfs add succeeds" '
test_expect_success "ipfs add output looks good" '
HASH="QmVr26fY1tKyspEJBniVhqxQeEjhF78XerGiqWAwraVLQH" &&
echo "added $HASH $(pwd)/mountdir/hello.txt" >expected &&
echo "added $HASH mountdir/hello.txt" >expected &&
test_cmp expected actual
'
......@@ -58,7 +58,7 @@ test_expect_success "ipfs add bigfile succeeds" '
test_expect_success "ipfs add bigfile output looks good" '
HASH="QmWXysX1oysyjTqd5xGM2T1maBaVXnk5svQv4GKo5PsGPo" &&
echo "added $HASH $(pwd)/mountdir/bigfile" >expected &&
echo "added $HASH mountdir/bigfile" >expected &&
test_cmp expected actual
'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论