From b140c33839051c5ec0cd219e8560036b8b8e9997 Mon Sep 17 00:00:00 2001 From: Christian Couder <chriscool@tuxfamily.org> Date: Sat, 15 Nov 2014 20:18:48 +0100 Subject: [PATCH] Adapt t0010 to output from ipfs2 The ouput from "ipfs help" changed in ipfs2. With the change in this commit, this output change doesn't prevent the test to pass. Test t0010 now passes on my Linux machine. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org> --- test/t0010-basic-commands.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/t0010-basic-commands.sh b/test/t0010-basic-commands.sh index e007ae980..8ddaae3f9 100755 --- a/test/t0010-basic-commands.sh +++ b/test/t0010-basic-commands.sh @@ -25,7 +25,8 @@ test_expect_success "ipfs help succeeds" ' ' test_expect_success "ipfs help output looks good" ' - cat help.txt | egrep "^Usage: +ipfs" + cat help.txt | egrep -i "^Usage:" && + cat help.txt | egrep "ipfs .* <command>" ' test_done -- GitLab