From 68f7b50b5cbcded9f24ffde87940e99b66a8ca2d Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 15 Nov 2014 15:38:26 +0100 Subject: [PATCH] Adapt t0050 to output from ipfs2 The ouput from "ipfs block" changed in ipfs2. With the change in this commit, this output change doesn't prevent the test to pass. Test t0050 now passes on my Linux machine. License: MIT Signed-off-by: Christian Couder --- test/t0050-block.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/t0050-block.sh b/test/t0050-block.sh index 23fd28e2b..1a55bf420 100755 --- a/test/t0050-block.sh +++ b/test/t0050-block.sh @@ -20,7 +20,7 @@ test_expect_success "'ipfs block put' succeeds" ' test_expect_success "'ipfs block put' output looks good" ' HASH="QmRKqGMAM6EZngbpjSqrvYzq5Qd8b1bSWymjSUY9zQSNDk" && - echo "added as '\''$HASH'\''" >expected_out && + echo "$HASH" >expected_out && test_cmp expected_out actual_out '