Commit Graph

513 Commits

Author SHA1 Message Date
Juan Benet
4397adf51c Merge pull request #2041 from ipfs/t0080-osx-fix
t0080 improvements
2015-12-12 04:31:18 -05:00
Juan Benet
0f39687fb6 Merge pull request #2019 from ipfs/Dignifiedquire-fix/access-controll-headers
Dignifiedquire fix/access controll headers
2015-12-09 00:55:06 -08:00
Christian Couder
0d7ef453f8 t0080: improve 'ipfs refs --unique' test
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-12-05 08:45:35 +01:00
Christian Couder
715e0c915e t0080: improve last tests
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-12-05 08:20:27 +01:00
Christian Couder
5721a1050c t0020: cleanup dir with bad perms
This is needed on OSX otherwise the trash directory for the
t0020-init.sh test fails to be removed due to a permissions
error.

This fixes https://github.com/ipfs/go-ipfs/issues/2026

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-12-05 07:36:53 +01:00
Lars Gierth
dcc9a63a34 assets: fix gc example
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2015-12-03 03:25:28 +01:00
Juan Benet
1c53aea2d2 Merge pull request #2000 from nham/object_put_newline
Add newline to end of `ipfs object put` text output.
2015-12-02 03:40:27 -08:00
Jeromy
891a8d7656 no newlines in json objects
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-11-30 15:23:48 -08:00
Nick Hamann
d49a15f566 Add newline to end of the output for a few commands.
Commands affected:

 - ipfs object put
 - ipfs tar add
 - ipfs resolve
 - ipfs name resolve

License: MIT
Signed-off-by: Nick Hamann <nick@wabbo.org>
2015-11-29 11:50:48 -06:00
dignifiedquire
e09c397aba Try to fix tests
License: MIT
Signed-off-by: Friedel Ziegelmayer <dignifiedquire@gmail.com>
2015-11-25 20:11:20 +01:00
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