@cryptotaxi247 / kubo / commits / 92d1d65fc

test: fix sed usage on OSX

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Sep 12, 2016 at 13:28 UTC 92d1d65fc2bb033617247e5b87a9c98179f5c2a6
1 file changed +2 -2
test/sharness/t0021-config.sh
+2 -2
@@ -74,8 +74,8 @@ test_config_cmd() {
74
75 test_expect_success "setup for config replace test" '
76 cp "$IPFS_PATH/config" newconfig.json &&
77 - sed -e /PrivKey/d -e s/10GB/11GB/ -i newconfig.json &&
78 - sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i newconfig.json
77 + </dev/null sed -e /PrivKey/d -e s/10GB/11GB/ -i newconfig.json &&
78 + </dev/null sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i newconfig.json
79 '
80
81 test_expect_success "run 'ipfs config replace'" '