- 12 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 07 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
kept bin in place
-
- 05 Jan, 2015 5 commits
-
-
Juan Batiz-Benet authored
if a test is cancelled, unmount may not run. then, must run umount before mounting, just to make sure.
-
Juan Batiz-Benet authored
sharness tests should not bootstrap to the dht. it may be useful to test that specifically, but not on the other tests.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Make sharness tests' output helpful when verbose. This means cating certain files, or running diagnostic commands. I used a construction like: test_expect_success ".go-ipfs/ has been created" ' test -d ".go-ipfs" && test -f ".go-ipfs/config" && test -d ".go-ipfs/datastore" || fsh ls -al .go-ipfs ' The `|| ...` is a diagnostic run when the preceding command fails. `fsh` is a trivial script that echoes the args, runs the cmd, and then also fails, making sure the test case fails. (wouldnt want the diagnostic accidentally returning true and making it _seem_ like the test case succeeded).
-
Juan Batiz-Benet authored
-
- 20 Nov, 2014 3 commits
-
-
Christian Couder authored
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>
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 18 Nov, 2014 5 commits
-
-
Christian Couder authored
This uses test_expect_failure to document some bugs related to 'ipfs mount'. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Juan Batiz-Benet authored
this is a hack around travis key-gen being really slow. One option would be to add the --key-bits option to daemon as well. Another option would be to find a better way to wait for the output, rather than waiting n seconds. cc @chriscool thoughts?
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 16 Nov, 2014 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 09 Nov, 2014 1 commit
-
-
Juan Batiz-Benet authored
I moved installed things into own dirs bin and lib. @chriscool sorry to move things around again, the top level test dir was getting a bit clutterd.
-
- 08 Nov, 2014 2 commits
-
-
Christian Couder authored
It is cleaner if sharness is installed in its own directory.
-
Juan Batiz-Benet authored
Addresses comments in: https://github.com/jbenet/go-ipfs/commit/7e14f1737d146cb45f3d788f229dae9fd964e524
-
- 07 Nov, 2014 3 commits
-
-
Juan Batiz-Benet authored
The tests were using the globally installed ipfs. This commit changes it to build + use its own ipfs binary.
-
Christian Couder authored
When there is no fuse we should skip all mount tests and using a FUSE prerequisite is a good way to do that.
-
Juan Batiz-Benet authored
-
- 01 Nov, 2014 2 commits
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
This adds test_launch_ipfs_mount() and test_kill_ipfs_mount() to avoid duplicating tests to launch "ipfs mount" and to kill it. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 25 Oct, 2014 2 commits
-
-
Christian Couder authored
This way we can easily reuse the checks in test-sharness-config.sh.
-
Christian Couder authored
Our test framework is based on Sharness. So the first thing to do is to source it.
-