sharness: fix OSX build
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Sep 21, 2017 at 23:55 UTC
7b7513565ee4ff58c01b189aa4710141bcf979ed
1 file changed
+2
-2
test/sharness/t0220-bitswap.sh
+2
-2
@@ -16,7 +16,7 @@ test_expect_success "'ipfs bitswap stat' succeeds" '
16
'
17
18
test_expect_success "'ipfs bitswap stat' output looks good" '
19
- cat <<EOF | sed "s/ /\\t/g" >expected &&
19
+ cat <<EOF | unexpand -t2 >expected &&
20
bitswap status
21
provides buffer: 0 / 256
22
blocks received: 0
@@ -54,7 +54,7 @@ test_expect_success "'ipfs bitswap stat' succeeds" '
54
'
55
56
test_expect_success "'ipfs bitswap stat' output looks good" '
57
- cat <<EOF | sed "s/ /\\t/g" >expected &&
57
+ cat <<EOF | unexpand -t2 >expected &&
58
bitswap status
59
provides buffer: 0 / 256
60
blocks received: 0