From b241c8048f4b42d77b02f0e18df1c4653b21b316 Mon Sep 17 00:00:00 2001 From: Jeromy <jeromyj@gmail.com> Date: Tue, 30 Dec 2014 01:40:52 +0000 Subject: [PATCH] fix sharness test for ipfs init output --- test/t0020-init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/t0020-init.sh b/test/t0020-init.sh index d7b4c8dfa..b0c7e79dc 100755 --- a/test/t0020-init.sh +++ b/test/t0020-init.sh @@ -38,7 +38,8 @@ 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 "\nto get started, enter: ipfs cat $STARTHASH" >>expected && + echo "" >> expected && + echo "to get started, enter: ipfs cat $STARTHASH" >>expected && test_cmp expected actual_init ' -- GitLab