Commit Graph

503 Commits

Author SHA1 Message Date
rht
54a9891822 Add gc auto test
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-15 18:50:51 +07:00
rht
48a33ffb67 Add fixed period repo GC + test
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-11-10 14:03:29 +07:00
Jeromy
94bdce63a7 vendor logging lib update
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-05 15:57:21 -08:00
Jeromy
0d35cc9aea set data and links nil if not present
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-02 23:38:36 -08:00
Jeromy
c7fb7ce17d cache ipns entries to speed things up a little
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-02 12:53:08 -08:00
rht
31115f51a0 Allow ipfs cat on ipns path
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-31 15:55:47 +07:00
Juan Benet
f703b2c375 Merge pull request #1886 from ipfs/fix/ThatPut
fixing putHandler
2015-10-31 01:03:33 -04:00
Henry
c1847e9f69 putHandler: addressed CR from @jbenet
License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-10-31 01:37:37 +01:00
Juan Benet
a93dbf6d01 Merge pull request #1913 from ipfs/test-ipfs-config
t0021: test 'ipfs config show'
2015-10-30 17:06:33 -04:00
Juan Benet
933b973394 Merge pull request #1912 from ipfs/t0220-bitswap-stat
t0220: add 'ipfs bitswap stat' tests
2015-10-30 17:06:25 -04:00
Juan Benet
d82ff148e5 Merge pull request #1847 from ipfs/sharness-coverage-script
Sharness coverage script
2015-10-30 17:04:37 -04:00
Christian Couder
bbe95b8ad4 t0021: test 'ipfs config show'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-29 16:26:52 +01:00
Christian Couder
3e57460c87 t0220: show breakage with ipfs bitswap wantlist -p
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-29 15:37:58 +01:00
Christian Couder
1c279b936e t0220: add 'ipfs bitswap stat' tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-29 15:07:46 +01:00
Henry
b8b4e45665 fixing putHandler for --writable http gateway
I disabled this a long time ago and never refactored it. About time.

License: MIT
Signed-off-by: Henry <cryptix@riseup.net>
2015-10-28 08:11:56 +01:00
Jeromy
c023d187b5 update code to use new logging changes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-27 11:04:56 -07:00
Juan Benet
4022d8b8bd Merge pull request #1885 from ipfs/fix/ndjson
put newlines between streaming json output objects
2015-10-27 06:24:02 -04:00
Juan Benet
fff95d6fff Merge pull request #1856 from ipfs/fix/id-self
allow ipfs id to work on self
2015-10-27 04:52:07 -04:00
Juan Benet
2963d2e169 Merge pull request #1871 from ipfs/test-commands-flags
t0010: add tests for 'ipfs commands --flags'
2015-10-27 04:47:46 -04:00
Jeromy
f130869b45 put newlines between streaming json output objects
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-25 22:38:38 -07:00
Christian Couder
d5da16faf6 test/Makefile: add coverage target
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 12:34:40 +02:00
Christian Couder
891b4c569e coverage_helper: better group long and short options
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 11:22:53 +02:00
Christian Couder
c321f0626a coverage_helper: use 'ipfs commands --flags'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 09:15:15 +02:00
Christian Couder
e1ef4d6f54 coverage_helper: log found commands
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
292ef427d0 coverage_helper: refactor matching commands
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
46394ce452 coverage_helper: exclude variables definitions
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
6291662b89 coverage_helper: output a result
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
06c3a21c94 coverage_helper: match commands from both sources
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
33c6df6827 coverage_helper: get commands from 'ipfs commands'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
5e3d3895f5 coverage_helper: refactor egreps
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
106b841398 coverage_helper: remove grep commands
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
5abf294cf7 coverage_helper: remove .ipfs
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
741c0e5e50 coverage_helper: remove more cruft
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Christian Couder
97a80e93ae Add first version of sharness_test_coverage_helper.sh
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-24 06:49:33 +02:00
Jeromy
5dc2c7e010 add sharness test for streaming output from daemon
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-21 15:01:51 -07:00
Juan Benet
a79a9e7759 Merge pull request #1868 from ipfs/t0060-alternative-nc-fix
t0060: fail if no nc
2015-10-20 12:24:39 -07:00
Christian Couder
8a3bf95365 t0010: add tests for 'ipfs commands --flags'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-20 14:57:54 +02:00
Christian Couder
c424b4d5ad t0060: fail if no nc
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-20 10:00:56 +02:00
Jeromy
71288160b1 add small test to ensure ipfs id <self> works
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-19 22:07:39 -07:00
Lars Gierth
a872199714 config: update pluto's peerID
We lost its private key a while ago...

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-10-19 21:04:42 +02:00
Jeromy
1cef170243 add small sharness test to make sure output happens
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-18 19:50:15 -07:00
Christian Couder
e5031788fd t00{1,6}0: remove some useless cats
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-16 21:54:47 +02:00
Christian Couder
51d05fb8dc t0010: test 'ipfs commands' and 'ipfs * --help'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-16 21:54:47 +02:00
Juan Benet
d6297c7498 Merge pull request #1823 from ForrestWeston/recurPin
Pin commands default to recursive
2015-10-16 08:43:25 -07:00
Juan Benet
751c69ee70 Merge pull request #1621 from ipfs/real-trailers
use go's built in handling of trailers and dont do custom chunking
2015-10-14 17:02:46 +08:00
ForrestWeston
01239147b7 changed pinning to be recursive by default
pin add, pin rm, and pin ls will be recursive unless
specified with '=false' eg. 'ipfs pin add -r=false <file>'
tests for pinning have been updated/added

License: MIT
Signed-off-by: ForrestWeston <Forrest.Weston@gmail.com>
2015-10-13 17:11:05 -07:00
Matt Bell
04482cbe41 Consolidated 'resolve' tests
License: MIT
Signed-off-by: Matt Bell <mappum@gmail.com>
2015-10-13 16:51:44 +07:00
Juan Batiz-Benet
dd8267b9e0 resolve sharness test
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-10-13 13:11:41 +07:00
Matt Bell
16e29dae77 sharness: Added tests for 'ipfs resolve'
License: MIT
Signed-off-by: Matt Bell <mappum@gmail.com>
2015-10-13 13:11:41 +07:00
Jeromy
e89f7b8ded use go's built in handling of trailers and dont do custom chunking
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

use go1.5 syntax to ensure builds on older versions fail

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>

fix t0230

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-11 23:04:41 -07:00