Skip to content

Commit

Permalink
test: fix sed usage on OSX
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
  • Loading branch information
Kubuxu committed Sep 12, 2016
1 parent 25a035f commit 92d1d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0021-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ test_config_cmd() {

test_expect_success "setup for config replace test" '
cp "$IPFS_PATH/config" newconfig.json &&
sed -e /PrivKey/d -e s/10GB/11GB/ -i newconfig.json &&
sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i newconfig.json
</dev/null sed -e /PrivKey/d -e s/10GB/11GB/ -i newconfig.json &&
</dev/null sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i newconfig.json
'

test_expect_success "run 'ipfs config replace'" '
Expand Down

0 comments on commit 92d1d65

Please sign in to comment.