Christian Couder
aeb019f2b8
Add test/Makefile to run the test scripts
...
You can use it like this to launch all the
test scripts in order:
$ cd test
$ make
rm -r test-results
*** t0010-basic-commands.sh ***
ok 1 - current dir is writable
ok 2 - ipfs version succeeds
ok 3 - ipfs version output looks good
ok 4 - ipfs help succeeds
ok 5 - ipfs help output looks good
# passed all 5 test(s)
1..5
./test-aggregate-results.sh
fixed 0
success 5
failed 0
broken 0
total 5
Or you can just run one test like this:
$ make t0010-basic-commands.sh
*** t0010-basic-commands.sh ***
ok 1 - current dir is writable
ok 2 - ipfs version succeeds
ok 3 - ipfs version output looks good
ok 4 - ipfs help succeeds
ok 5 - ipfs help output looks good
# passed all 5 test(s)
1..5
2014-10-25 14:12:27 +02:00
Christian Couder
0aebe75361
Add test-aggregate-results.sh
...
This script aggregates test results using Sharness.
2014-10-25 14:12:20 +02:00
Christian Couder
1fb4192642
Move Sharness config checks into test-sharness-config.sh
...
This way we can easily reuse the checks in
test-sharness-config.sh.
2014-10-25 13:58:54 +02:00
Christian Couder
12490cb477
Add t0010-basic-commands.sh
...
This checks a little bit the installation and some
basic commands.
You can run it like that:
$ cd test
$ ./t0010-basic-commands.sh
ok 1 - current dir is writable
ok 2 - ipfs version succeeds
ok 3 - ipfs version output looks good
ok 4 - ipfs help succeeds
ok 5 - ipfs help output looks good
# passed all 5 test(s)
1..5
2014-10-25 13:57:19 +02:00
Christian Couder
449523eebd
Add test-lib.sh for our shell test framework
...
Our test framework is based on Sharness.
So the first thing to do is to source it.
2014-10-25 13:53:57 +02:00
Juan Batiz-Benet
bd5a1c0c0f
Merge pull request #192 from jbenet/dhtfixes
...
dht fixes
2014-10-22 22:20:36 -07:00
Brian Tiger Chow
d374cc6900
Merge pull request #194 from jbenet/fix/move_proto
...
refactor(pb) move protos to internal packages
2014-10-22 22:13:17 -07:00
Brian Tiger Chow
a1b61f399c
refactor(unixfs/pb) mv proto PBData -> Data, etc.
2014-10-22 21:52:59 -07:00
Brian Tiger Chow
80b573425b
refactor(bitswap) mv proto PBMessage -> Message
2014-10-22 21:49:46 -07:00
Brian Tiger Chow
2ed7da8cfd
refactor(crypto) mv proto PBPublicKey -> PublicKey, etc.
2014-10-22 21:49:43 -07:00
Brian Tiger Chow
fdcf3f6d34
chore(crypto/spipe) use generic Makefile
2014-10-22 21:39:19 -07:00
Brian Tiger Chow
d3ac9ceee3
misc(exch/bitswap) add TODOs
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
4d81560dd8
fix(net/service/pb) rename proto package -> service_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
f620f87cd1
fix(merkledag/pb) rename proto package -> merkledag_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
c4ea239291
fix(namesys/pb) rename proto package -> namesys_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
157035233e
fix(crypto/spipe/pb) rename proto package -> spipe_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
8823f46248
fix(exch/bs/pb) rename proto package -> bitswap_message_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
30faf11bfa
fix(diag) rename proto package -> diagnostics_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
454d1df4aa
fix(unixfs/pb) rename proto package -> unixfs_pb
2014-10-22 15:54:18 -07:00
Brian Tiger Chow
81367a864e
fix(net/mux/pb) rename proto package -> mux_pb
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
6e9e29b87d
fix(crypto) rename proto package -> crypto_pb, regen go file
...
+ add Makefile
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
75a860ca2b
refactor(unixfs) move proto to pb package
...
not internal since io needs it
fix(fuse/ipns) use pb package
fix(fuse) import protos from unixfs/pb package
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
1d08e1d7c2
refactor(merkledag) move proto to internal pb package
...
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
d94e764e4a
refactor(net/service) move proto to internal pb package
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
15605fb18f
refactor(exchange/bitswap) move proto to internal pb package
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
528a7cbd51
refactor(diagnostics) move proto to internal pb package
...
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
ec481b5ad4
refactor(net/mux) move proto to internal pb package
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
e3a9a11afc
refactor(crypto) move proto to internal pb package
...
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
673bb1ba68
refactor(crypto/spipe) move proto to internal pb package
...
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit
2014-10-22 15:54:17 -07:00
Brian Tiger Chow
488515c207
refactor(namesys) move proto to internal pb package
2014-10-22 15:54:16 -07:00
Brian Tiger Chow
a817531653
fix(fuse) named/aliased imports
2014-10-22 15:54:16 -07:00
Juan Batiz-Benet
d8eb8b1191
ipfs cmd help now shows update
...
+ reorder of plumbing
2014-10-22 15:22:01 -07:00
Juan Batiz-Benet
e20929af13
equinox.io app id
2014-10-22 15:17:03 -07:00
Juan Batiz-Benet
eb1aaae4f6
Merge pull request #193 from jbenet/auto-updates
...
This PR enables auto-updates
2014-10-22 15:11:32 -07:00
Jeromy
b7744b2a11
fix for #141 , routing table segmentation
2014-10-22 15:08:32 -07:00
Juan Batiz-Benet
58aeaa7c02
auto-updates jbenet key
2014-10-22 15:05:36 -07:00
Juan Batiz-Benet
2561437a84
@jbenet's equinox pubkey
2014-10-22 14:43:22 -07:00
Juan Batiz-Benet
ce54c444cb
Merge pull request #189 from cryptix/autoUpdate
...
Auto update
2014-10-22 14:41:07 -07:00
Juan Batiz-Benet
6d8a1d1ecd
minimal doc on handshake
2014-10-22 13:10:55 -07:00
Juan Batiz-Benet
88cc1e2a5c
spell nit
2014-10-22 12:49:37 -07:00
Juan Batiz-Benet
a8adf2ff2c
dht test fix (net)
2014-10-22 05:31:49 -07:00
Juan Batiz-Benet
54032ce38b
updated vendoring
2014-10-22 05:29:22 -07:00
Juan Batiz-Benet
701035d5b0
handshake3 (addrs)
2014-10-22 05:25:31 -07:00
Juan Batiz-Benet
97c66ddc8f
handshake1 renaming
2014-10-22 04:56:18 -07:00
Henry
4f42a26836
fixed --force flag for shutdown after update
2014-10-22 12:42:13 +02:00
Henry
d9552fea18
updates: printing fixes
2014-10-22 12:34:00 +02:00
Juan Batiz-Benet
cc5c181ae0
Dialer for dht
...
dht doesn't need the whole network interface, only needs a Dialer.
(much reduced surface of possible errors)
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
cc9f276f0f
notes
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
c3df3973e1
query wasnt ensuring conn
...
The query-- once it's actually attempting to connect to a peer--
should be the one connecting.
2014-10-22 03:24:05 -07:00
Juan Batiz-Benet
6f8d23cbc1
this shouldn't connect quite yet.
2014-10-22 03:24:05 -07:00