kubo/test
Christian Couder c8e7a95644 Add an EXPENSIVE prereq and use it in t0040
We add this prereq to tests with a 100MB file
as they are slow on Travis CI.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-20 20:27:09 +01:00
..
lib Add an EXPENSIVE prereq and use it in t0040 2014-11-20 20:27:09 +01:00
.gitignore test: moved installed things into own dirs 2014-11-08 20:12:02 -08:00
Makefile sharness tests back to cmd/ipfs 2014-11-18 06:14:59 -08:00
README.md Update test/README.md about sharness directory 2014-11-09 19:16:02 +01:00
t0010-basic-commands.sh Adapt t0010 to output from ipfs2 2014-11-16 03:20:11 -08:00
t0020-init.sh test: test init output 2014-11-17 22:36:19 -08:00
t0030-mount.sh Rename test_launch_ipfs_mount into test_launch_ipfs_daemon_and_mount 2014-11-20 20:11:03 +01:00
t0040-add-and-cat.sh Add an EXPENSIVE prereq and use it in t0040 2014-11-20 20:27:09 +01:00
t0050-block.sh Adapt t0050 to output from ipfs2 2014-11-16 03:20:10 -08:00
t0060-daemon.sh skip for now 2014-11-18 08:50:08 -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.