提交 6208b1f5 作者: Juan Batiz-Benet

Merge pull request #717 from jbenet/improve_t0090

test/sharness: improve t0090 by using printf
......@@ -27,8 +27,7 @@ test_expect_success "ipfs get succeeds" '
'
test_expect_success "ipfs get output looks good" '
echo "Saving file(s) to "$HASH"
" >expected &&
printf "%s\n\n" "Saving file(s) to $HASH" >expected &&
test_cmp expected actual
'
......@@ -46,8 +45,7 @@ test_expect_success "ipfs get -a succeeds" '
'
test_expect_success "ipfs get -a output looks good" '
echo "Saving archive to $HASH.tar
" >expected &&
printf "%s\n\n" "Saving archive to $HASH.tar" >expected &&
test_cmp expected actual
'
......@@ -63,8 +61,7 @@ test_expect_success "ipfs get -a -C succeeds" '
'
test_expect_success "ipfs get -a -C output looks good" '
echo "Saving archive to $HASH.tar.gz
" >expected &&
printf "%s\n\n" "Saving archive to $HASH.tar.gz" >expected &&
test_cmp expected actual
'
......@@ -86,8 +83,7 @@ test_expect_success "ipfs get succeeds (directory)" '
'
test_expect_success "ipfs get output looks good (directory)" '
echo "Saving file(s) to $HASH2
" >expected &&
printf "%s\n\n" "Saving file(s) to $HASH2" >expected &&
test_cmp expected actual
'
......@@ -102,8 +98,7 @@ test_expect_success "ipfs get -a -C succeeds (directory)" '
'
test_expect_success "ipfs get -a -C output looks good (directory)" '
echo "Saving archive to $HASH2.tar.gz
" >expected &&
printf "%s\n\n" "Saving archive to $HASH2.tar.gz" >expected &&
test_cmp expected actual
'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论