kubo/test
Christian Couder 68f7b50b5c 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 <chriscool@tuxfamily.org>
2014-11-16 03:20:10 -08:00
..
lib vendor: updated random + fixed test import 2014-11-08 20:12:02 -08:00
.gitignore test: moved installed things into own dirs 2014-11-08 20:12:02 -08:00
Makefile tests(sharness) attempt to execute sharness tests on ipfs2 2014-11-16 03:20:10 -08:00
README.md Update test/README.md about sharness directory 2014-11-09 19:16:02 +01:00
t0010-basic-commands.sh test: moved installed things into own dirs 2014-11-08 20:12:02 -08:00
t0020-init.sh test: moved installed things into own dirs 2014-11-08 20:12:02 -08:00
t0030-mount.sh test: moved installed things into own dirs 2014-11-08 20:12:02 -08:00
t0040-add-and-cat.sh Adapt t0040 to output from ipfs2 2014-11-16 03:20:10 -08:00
t0050-block.sh Adapt t0050 to output from ipfs2 2014-11-16 03:20:10 -08:00

ipfs whole tests using the sharness framework

Running all the tests

Just use make in this directory to run all the tests.

Running just one test

You can run only one test script by launching it like a regular shell script:

$ ./t0010-basic-commands.sh

Sharness

When running "make" in this directory for the first time, sharness will be downloaded from its github repo and installed in a "lib/sharness" directory.

Please do not change anything in the "lib/sharness" directory.

If you really need some changes in sharness, please fork it from its cannonical repo and send pull requests there.