@cryptotaxi247 / kubo / commits / b140c3383

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>

Christian Couder committed Nov 15, 2014 at 20:18 UTC b140c33839051c5ec0cd219e8560036b8b8e9997
1 file changed +2 -1
test/t0010-basic-commands.sh
+2 -1
@@ -25,7 +25,8 @@ test_expect_success "ipfs help succeeds" '
25 '
26
27 test_expect_success "ipfs help output looks good" '
28 - cat help.txt | egrep "^Usage: +ipfs"
28 + cat help.txt | egrep -i "^Usage:" &&
29 + cat help.txt | egrep "ipfs .* <command>"
30 '
31
32 test_done