@cryptotaxi247 / kubo / commits / 3e0f7cb60

fix add-and-cat sharness test on osx

License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Jan 6, 2018 at 15:52 UTC 3e0f7cb60003feced005d4ae475a39c556310485
1 file changed +2 -3
test/sharness/t0040-add-and-cat.sh
+2 -3
@@ -83,7 +83,7 @@ test_add_cat_file() {
83 '
84
85 test_expect_success "ipfs cat with length output looks good" '
86 - echo -n "Hello Wo" >expected &&
86 + printf "Hello Wo" >expected &&
87 test_cmp expected actual
88 '
89
@@ -92,8 +92,7 @@ test_add_cat_file() {
92 '
93
94 test_expect_success "ipfs cat multiple hashes with offset and length looks good" '
95 - echo " Worlds!" >expected &&
96 - echo -n "Hello " >>expected &&
95 + printf " Worlds!\nHello " >expected &&
96 test_cmp expected actual
97 '
98