mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-02 06:47:51 +08:00
fix add-and-cat sharness test on osx
License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
089496b918
commit
3e0f7cb600
@ -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
|
||||
'
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user