Christian Couder
8f102d2cbd
t0051: swap test_cmp arguments
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-10-03 23:26:20 +02:00
Jeromy
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
Jeromy
e202c6592f
vendor in iptb and kingpin
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-30 11:03:02 -07:00
Jeromy
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
Christian Couder
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
Juan Benet
08e06764c8
Merge pull request #1742 from ipfs/test/gz
...
Sharness: add test for compression level
2015-09-26 18:36:36 -04:00
Cayman Nava
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
Juan Benet
46e888bdfc
Merge pull request #1701 from ipfs/feat/extract-logging
...
extract logging
2015-09-15 13:05:31 -04:00
Juan Benet
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
Jeromy
e5a2896c0e
extract logging
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-14 17:35:50 -07:00
Jeromy
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
Christian Couder
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
Christian Couder
e22cbcec27
t0100: add peerid check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:16:54 +02:00
Christian Couder
bec8224a0e
t0062: add peerid check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:14:34 +02:00
Christian Couder
9563cb29d9
t0110: add peerid check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:10:18 +02:00
Christian Couder
0aa59368e4
t0060: simplify peerid check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:06:50 +02:00
Christian Couder
5c118a20d7
sharness: generalize test_check_peerid()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-09-12 19:00:26 +02:00
Jeromy
7496df76d2
vendor binary deps in test/dependencies
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 18:09:12 -07:00
Jeromy
533a729949
add sharness test for tar commands
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-10 17:11:35 -07:00
Juan Benet
408bea3797
Merge pull request #1641 from rht/namedpipe
...
Serialfile: Explicit err on unrecognized file type
2015-09-05 03:19:54 +02:00
rht
8ec121239e
Bump version of dir-index-html
...
Based on https://github.com/ipfs/go-ipfs/pull/1615
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-05 01:06:35 +07:00
rht
1b26ca724f
Add test for ipfs add err for unsupported file type
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-09-04 18:04:56 +07:00
Jeromy
ab0c668ab8
fix panic caused by accessing config after repo closed
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-03 09:28:36 -07:00
Juan Benet
dfa27c0c5a
Merge pull request #1623 from rht/fix-check-api-test
...
Fix and refactor daemon api test
2015-09-02 22:42:09 +02:00
Juan Benet
a3f0a6eb73
Merge pull request #1625 from ipfs/check-peerid
...
t0020: simplify peerid check
2015-09-02 22:41:13 +02:00
Juan Benet
5ff766bea9
Merge pull request #1626 from ipfs/t0062-cleanup
...
t0062 cleanup
2015-09-02 22:40:10 +02:00
Jeromy
a4e72871fa
add tests for symlinks
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-09-02 12:59:09 -07:00
Christian Couder
dc68ae76e3
t0020: simplify peerid check
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-30 18:23:03 +02:00
Christian Couder
3562e72d8e
t0062: add missing && in test_client*()
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:30:37 +02:00
Christian Couder
cbeff099a2
t0062: check that 'ipfs config' works
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:28:58 +02:00
Christian Couder
fe742050ac
t0062: use "$@" directly
...
This avoids potential quoting problems.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-29 22:23:55 +02:00
rht
1198564ca3
Fix and refactor daemon api test
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-29 22:10:58 +07:00
Juan Benet
8c652907de
Merge pull request #1598 from ipfs/check-for-api
...
check for API -- WIP
2015-08-29 06:20:59 +02:00
Juan Batiz-Benet
8c547ff7b8
t0062-daemon-api.sh tabs
...
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-29 06:13:50 +02:00
Juan Batiz-Benet
b883381b63
improved t0062-daemon-api.sh tests
...
License: MIT
Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
2015-08-29 06:12:12 +02:00
Juan Benet
9f253dfa7a
Merge pull request #1592 from prusnak/empty-repo
...
Add --empty-repo option for init (#1559 )
2015-08-28 14:13:09 +02:00
rht
be96d8d7d5
Fix test cases for ipfs api check
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-28 13:20:13 +07:00
Christian Couder
e1d8200ffb
test-lib: use all the test_launch_ipfs_daemon() arguments
...
It is simpler and less error prone to just pass to `ipfs daemon`
all the arguments that are passed to test_launch_ipfs_daemon().
Maybe the arguments should be shell quoted too, but that's
another issue.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-28 05:17:27 +02:00
Jeromy
94000e6490
replace nodebuilder with a nicer interface
...
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
use NewNode instead of NewIPFSNode in most of the codebase
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
make mocknet work with node constructor better
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
finish cleanup of old construction method
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
blockservice.New doesnt return an error anymore
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
break up node construction into separate function
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
add error case to default filling on node constructor
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2015-08-27 08:43:10 -07:00
rht
dd265b7f03
Add test cases for ipfs api check
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-27 18:30:28 +07:00
Christian Couder
872daf8357
t0020: add test for --empty-repo
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-25 21:26:06 +02:00
Juan Benet
0f9065963f
Merge pull request #1599 from ipfs/binary-data-and-json
...
Binary data and json test
2015-08-25 16:18:31 +02:00
Christian Couder
5cced6f21a
t0051: check json i/o
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-24 23:13:55 +02:00
Christian Couder
e4a0a3bfcb
t0051: add UTF-8 test file
...
This new file comes from:
https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
It is licensed under CC BY 4.0.
After discussing that with its author, I think it is ok to
add it as is to our repository. The only restriction might
be that we should indicate in the file any change we make
to it.
License: CC BY 4.0
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-24 23:05:48 +02:00
Juan Benet
a052087974
Merge pull request #1569 from rht/daemon-msg
...
Notify when daemon is ready
2015-08-23 05:11:27 +02:00
Christian Couder
dd6fe10f02
t0042: fix test indentation
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-08-21 20:29:18 +02:00
rht
90b6490a35
Add test for readonly gateway api sanitation
...
License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
2015-08-17 15:07:31 +07:00
Karthik Bala
d140b8aae1
Add router that does nothing for bitswap_wo_routing test
...
License: MIT
Signed-off-by: Karthik Bala <karthikbala444@gmail.com>
2015-08-16 16:42:08 -07:00