1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-24 15:12:55 +08:00

453 Commits

Author SHA1 Message Date
c6f93380fc fix random bitswap hangs
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-11 22:10:19 -07:00
4ace45d930 vendor in new iptb code (and as a result, go-multiaddr-net and friends
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-11 22:10:16 -07:00
6e2435211f Added an xml decoder, Fixes #1612
License: MIT
Signed-off-by: Forrest Weston <forrest.weston@gmail.com>
2015-10-09 12:05:48 -07:00
rht
6ae0973e1f Add context to coreunix.Cat argument
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-04 23:10:43 +07:00
e499ee4470 sharness: swap test_*cmp arguments
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
bf8adc6c69 t0044: fail when 'ipfs add' fails
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
7b81e4e885 t0220: use test_must_be_empty()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
93aa8d0fb3 t0220: check if 'ipfs bitswap' fails
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 11:39:22 +02:00
d4938c9b0c Merge pull request #1777 from rht/test/add
Add trickle and chunker test
2015-10-03 19:40:31 -04:00
979bcc8108 Merge pull request #1772 from ipfs/shell-quote
Shell quote
2015-10-03 19:34:43 -04:00
d4ca23d349 Merge pull request #1785 from ipfs/improve-t0100
t0100: swap test_cmp arguments
2015-10-03 19:34:16 -04:00
3e8f7bd3ff Merge pull request #1786 from ipfs/improve-t0120
Improve t0120
2015-10-03 19:34:09 -04:00
69c2340e06 t0120: add missing &&
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:08:16 +02:00
9b316e8c66 t0120: swap test_cmp arguments
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:06:17 +02:00
3c3a9c974a t0100: swap test_cmp arguments
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-04 00:02:17 +02:00
47a353de6a Merge pull request #1781 from ipfs/improve-t0240
Improve t0240
2015-10-03 18:00:22 -04:00
513b75a889 Merge pull request #1783 from ipfs/improve-t0051
t0051: swap test_cmp arguments
2015-10-03 17:58:50 -04:00
3eea954a78 Merge pull request #1784 from ipfs/improve-t0081
t0081: swap test_cmp arguments
2015-10-03 17:58:31 -04:00
5686762055 t0081: swap test_cmp arguments
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:49:01 +02:00
088aa1a623 ipfs-test-lib: clarify and simplify shellquote()
Let's first add a comment to explain why the wrapper printf()
is needed.

Then let's replace the last instructions by quotes inside the
wrapper printf() first argument, and let's also put there the
eventual space so that we can remove the printf on the above
line.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:35:44 +02:00
8f0623255d replace imports with absolute path instead of using symlink
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-10-03 14:30:50 -07:00
8f102d2cbd t0051: swap test_cmp arguments
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:26:20 +02:00
880f378932 t0240: swap 'resolve' and 'expected'
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:46:10 +02:00
0f7f0495a6 t0240: use test_seq instead of seq
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:42:41 +02:00
e6890e1b63 t0240: improve ipfsi()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 22:33:12 +02:00
4cab9fe37e ipfs-test-lib: fix shellquote() on Mac OS
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 16:06:40 +02:00
d352b0421b Add t0015-basic-sh-functions.sh
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 12:27:01 +02:00
rht
32d9bd76f3 sharness: add trickle and chunker test
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-03 09:03:09 +07:00
rht
220b9d22ae Move test add cat offline into t0040
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-10-03 08:48:22 +07:00
e5512b4115 make publish more configurable and add test for repub
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:44 -07:00
e202c6592f vendor in iptb and kingpin
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:02 -07:00
815a031f59 Implement ipns republisher
This commit adds a very basic process that will periodically go through
a list of given ids and republish the values for their ipns entries.

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-29 09:47:47 -07:00
1bd182055b ipfs-test-lib: add shellquote()
This function can be usefull in many places.

See for example:

https://github.com/ipfs/go-ipfs/pull/1742

Git has `git rev-parse --sq-quote` that does the same thing.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-27 09:11:25 +02:00
08e06764c8 Merge pull request #1742 from ipfs/test/gz
Sharness: add test for compression level
2015-09-26 18:36:36 -04:00
9634b25b63 remove hard-coded json content-type for streaming http output
There was a stale assumption that streaming output from a channel would
always be json.
This commit removes that code, allowing Content-Type to appropriately be
set like other, non-channel-streaming commands.

License: MIT
Signed-off-by: Cayman Nava <caymannava@gmail.com>
2015-09-24 19:13:29 -07:00
rht
43dbd1cdb9 Sharness: add test for compression level
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-23 19:08:26 +07:00
46e888bdfc Merge pull request #1701 from ipfs/feat/extract-logging
extract logging
2015-09-15 13:05:31 -04:00
df861afccc Merge pull request #1672 from ipfs/feat/unwant
implement unwant command to remove blocks from wantlist
2015-09-15 00:57:57 -04:00
e5a2896c0e extract logging
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 17:35:50 -07:00
6c02259a5f add a basic test for unwant
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 15:26:09 -07:00
rht
23dd82f549 Fix t0090 tar&gz unexpected EOF error
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-14 01:23:54 +07:00
6e59b39b74 test-lib: improve test_check_peerid
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:27:55 +02:00
e22cbcec27 t0100: add peerid check
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:16:54 +02:00
bec8224a0e t0062: add peerid check
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:14:34 +02:00
9563cb29d9 t0110: add peerid check
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:10:18 +02:00
0aa59368e4 t0060: simplify peerid check
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:06:50 +02:00
5c118a20d7 sharness: generalize test_check_peerid()
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:00:26 +02:00
7496df76d2 vendor binary deps in test/dependencies
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 18:09:12 -07:00
533a729949 add sharness test for tar commands
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 17:11:35 -07:00
408bea3797 Merge pull request #1641 from rht/namedpipe
Serialfile: Explicit err on unrecognized file type
2015-09-05 03:19:54 +02:00