From c47b808d77a0ffd048a8a40cacb16087cf93a0f7 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet <juan@benet.ai> Date: Mon, 5 Jan 2015 00:09:46 -0800 Subject: [PATCH] sharness/init: fixed ipfs init output --- test/t0020-init.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/t0020-init.sh b/test/t0020-init.sh index b0c7e79dc..9b97c6905 100755 --- a/test/t0020-init.sh +++ b/test/t0020-init.sh @@ -38,8 +38,7 @@ test_expect_success "ipfs init output looks good" ' echo "initializing ipfs node at $IPFS_DIR" >expected && echo "generating key pair...done" >>expected && echo "peer identity: $PEERID" >>expected && - echo "" >> expected && - echo "to get started, enter: ipfs cat $STARTHASH" >>expected && + printf "\\n%s\\n" "to get started, enter: ipfs cat $STARTHASH" >>expected && test_cmp expected actual_init ' -- GitLab