From daf212a65e76d8791a7ebd0055df25ade2a07965 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 28 Sep 2016 13:57:25 +0200 Subject: [PATCH] try to fix travis on BSDs again License: MIT Signed-off-by: Jakub Sztandera --- test/sharness/t0021-config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/sharness/t0021-config.sh b/test/sharness/t0021-config.sh index 7d8e97dd5..fdfe94b96 100755 --- a/test/sharness/t0021-config.sh +++ b/test/sharness/t0021-config.sh @@ -74,8 +74,8 @@ test_config_cmd() { test_expect_success "setup for config replace test" ' cp "$IPFS_PATH/config" newconfig.json && - replconfig.json && - sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i replconfig.json && + sed -e '"'"'/PeerID/ { s/,$// } '"'"' -i"~" replconfig.json && test_cmp replconfig.json newconfig.json ' @@ -109,7 +109,7 @@ test_config_cmd() { ' test_expect_success "lower cased PrivKey" ' - sed -i -e '\''s/PrivKey/privkey/'\'' "$IPFS_PATH/config" && + sed -i"~" -e '\''s/PrivKey/privkey/'\'' "$IPFS_PATH/config" && test_expect_code 1 ipfs config Identity.privkey 2> ident_out '