- 13 Jun, 2016 2 commits
-
-
Jakub Sztandera authored
This tests expects ipfs init with no arguments to work even with occuipied stdin. License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
Jakub Sztandera authored
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
-
- 18 Jan, 2016 1 commit
-
-
Christian Couder authored
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 15 Jan, 2016 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>
-
- 18 May, 2015 1 commit
-
-
rht authored
-
- 20 Apr, 2015 1 commit
-
-
Jeromy authored
This commit adds a new set of sharness tests for pinning, and addresses bugs that were pointed out by said tests. test/sharness: added more pinning tests Pinning is currently broken. See issue #1051. This commit introduces a few more pinning tests. These are by no means exhaustive, but definitely surface the present problems going on. I believe these tests are correct, but not sure. Pushing them as failing so that pinning is fixed in this PR. make pinning and merkledag.Get take contexts improve 'add' commands usage of pinning FIXUP: fix 'pin lists look good' ipfs-pin-stat simple script to help check pinning This is a simple shell script to help check pinning. We ought to strive towards making adding commands this easy. The http api is great and powerful, but our setup right now gets in the way. Perhaps we can clean up that area. updated t0081-repo-pinning - fixed a couple bugs with the tests - made it a bit clearer (still a lot going on) - the remaining tests are correct and highlight a problem with pinning. Namely, that recursive pinning is buggy. At least: towards the end of the test, $HASH_DIR4 and $HASH_FILE4 should be pinned indirectly, but they're not. And thus get gc-ed out. There may be other problems too. cc @whyrusleeping fix grep params for context deadline check fix bugs in pin and pin tests check for block local before checking recursive pin
-
- 07 Apr, 2015 1 commit
-
-
Tor Arne Vestbø authored
If the file doesn't exist, make will conclude that the missing prerequisite should trigger a rebuild of the binaries.
-
- 06 Apr, 2015 1 commit
-
-
Christian Couder authored
This script can be used in a Makefile to detect flag changes and to save the new flags in a file. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 16 Mar, 2015 1 commit
-
-
Christian Couder authored
It looks like there were two problems: - "read" command probably needs the name of the variable it reads into - [[ didn't work This might be because on Linux /bin/sh is sometimes not bash. For example on Ubuntu it is a symlink to dash. License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 04 Feb, 2015 1 commit
-
-
Christian Couder authored
It has been replaced with test_fsh(). License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
-
- 05 Jan, 2015 1 commit
-
-
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).
-
- 09 Dec, 2014 2 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-