- 16 Nov, 2014 5 commits
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
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 authored
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>
-
Christian Couder authored
The ouput from "ipfs add" changed in ipfs2. With the changes in this commit, this output change doesn't prevent the test to pass. With TEST_NO_FUSE=1 test t0040 now passes on my Linux machine. License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Brian Tiger Chow authored
@jbenet @chriscool (not to be merged into master) This is a hack to run sharness tests on th ipfs2 binary. Instead of compiling cmd/ipfs, it compiles cmd/ipfs2 and copies this into test/bin/ipfs. I thought this would be enough to pass the `basic-commands` test, but it's not. Although the output is fairly similar, the `ipfs version` test fails. ``` test (feat/test2) λ. diff version1 version2 1c1 < ipfs version 0.1.7 --- > ipfs version 0.1.5 ``` I'm not very experienced with `sh` scripting, so perhaps I'm missing a key ingredient or maybe misunderstanding the the tests are meant to work. Would like to get input on this. Thanks, @maybebtc
-
- 15 Nov, 2014 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
- 09 Nov, 2014 7 commits
-
-
Christian Couder authored
Now sharness is in "lib/sharness"
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Juan Batiz-Benet authored
There is a dummy test import: test/lib/random-dep.go Because godep doen't yet vendor binaries nicely.
-
Juan Batiz-Benet authored
-
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.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 08 Nov, 2014 4 commits
-
-
Christian Couder authored
-
Christian Couder authored
It is cleaner if sharness is installed in its own directory.
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
Addresses comments in: https://github.com/jbenet/go-ipfs/commit/7e14f1737d146cb45f3d788f229dae9fd964e524
-
- 07 Nov, 2014 9 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
The tests were using the globally installed ipfs. This commit changes it to build + use its own ipfs binary.
-
Juan Batiz-Benet authored
-
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
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
sha1sum is not in osx by default. shasum seems to be everywhere.
-
- 06 Nov, 2014 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
- 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>
-
- 31 Oct, 2014 3 commits
-
-
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>
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
- 26 Oct, 2014 2 commits
-
-
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>
-
- 25 Oct, 2014 6 commits
-
-
Christian Couder authored
License: MIT Signed-off-by:
Christian Couder <chriscool@tuxfamily.org>
-
Christian Couder authored
You can use it like this to launch all the test scripts in order: $ cd test $ make rm -r test-results *** t0010-basic-commands.sh *** ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5 ./test-aggregate-results.sh fixed 0 success 5 failed 0 broken 0 total 5 Or you can just run one test like this: $ make t0010-basic-commands.sh *** t0010-basic-commands.sh *** ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5
-
Christian Couder authored
This script aggregates test results using Sharness.
-
Christian Couder authored
This way we can easily reuse the checks in test-sharness-config.sh.
-
Christian Couder authored
This checks a little bit the installation and some basic commands. You can run it like that: $ cd test $ ./t0010-basic-commands.sh ok 1 - current dir is writable ok 2 - ipfs version succeeds ok 3 - ipfs version output looks good ok 4 - ipfs help succeeds ok 5 - ipfs help output looks good # passed all 5 test(s) 1..5
-
Christian Couder authored
Our test framework is based on Sharness. So the first thing to do is to source it.
-