fix add-and-cat sharness test on osx

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen 2018-01-06 15:52:39 -08:00
parent 089496b918
commit 3e0f7cb600

View File

@ -83,7 +83,7 @@ test_add_cat_file() {
'
test_expect_success "ipfs cat with length output looks good" '
echo -n "Hello Wo" >expected &&
printf "Hello Wo" >expected &&
test_cmp expected actual
'
@ -92,8 +92,7 @@ test_add_cat_file() {
'
test_expect_success "ipfs cat multiple hashes with offset and length looks good" '
echo " Worlds!" >expected &&
echo -n "Hello " >>expected &&
printf " Worlds!\nHello " >expected &&
test_cmp expected actual
'