Commit Graph

17 Commits

Author SHA1 Message Date
Juan Batiz-Benet
756382a6c3 sharness/test-lib: wait longer for daemon
it keeps failing early.
2015-02-02 21:05:32 -08:00
Christian Couder
752f54e313 sharness/test-lib: remove some "cat" followed by |
The pattern "cat FILE | COMMAND" can be simplified
to just "COMMAND FILE" when COMMAND accepts files as
arguments.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-02-03 04:46:35 +01:00
Juan Batiz-Benet
b2da275475 sharness/lib: fix daemon startup check
Go back to test_run_repeat_10_sec to make sure the API
is there. I think this is also clearer on the reader.
2015-02-01 21:23:31 -08:00
Juan Batiz-Benet
7ce3c79519 sharness/lib: fixing gateway addr check
seems that the previous way isnt liked by all platforms
2015-02-01 20:41:34 -08:00
Juan Batiz-Benet
24f0d020e0 sharness: better config setting 2015-02-01 20:15:50 -08:00
Juan Batiz-Benet
56b6a2069a sharness: gateway fixes
there's an odd error setting the config.
2015-02-01 19:24:36 -08:00
Juan Batiz-Benet
c372255807 daemon: fix output + time waiting 2015-02-01 04:29:32 -08:00
Juan Batiz-Benet
052c867a70 sharness: output options in verbose mode 2015-01-31 22:55:05 -08:00
Juan Batiz-Benet
f1d34a2a85 test/sharness: fix errors
- core: daemon stdout print to cmd + daemon init checks
- core: fixed bug where the gateway was printed as "API"
- sharness/test-lib: daemon init checks
- sharness/test-lib: portable TCP port check
- sharness/init: fix test bits output
- sharness: use common hashes in one place.
- move t0100-http-gateway -> t0111-gateway-writable
- sharness: test-lib funcs for gateway config
- sharness/t0111-gateway-writable: use sh funcs
- sharness/t0111-gateway-writable: fixes
  - escape all vars (always `cmd "$VAR"` never `cmd $VAR`)
  - use $FILEPATH, not $path
  - last test seems to fail
2015-01-31 22:54:34 -08:00
Mildred Ki'Lya
51af53d8f7 Added Sharness test for HTTP Gateway 2015-01-31 23:36:46 +01:00
Juan Batiz-Benet
73234479fa init docs: go generated welcome dir + files
updated sharness hashes
2015-01-31 07:51:30 -08:00
Juan Batiz-Benet
c283c0a690 test/sharness: allow testing of daemon without FUSE
This commit allows sharness tests to run daemon tests when the FUSE
option is off. Unsure why this was previously included.
2015-01-28 00:36:30 -08:00
Brian Tiger Chow
bbcc259eaf fix(sharness): Initializing daemon... output 2015-01-27 17:04:38 -08:00
Brian Tiger Chow
df9e6ce640 refactor: rename IPFS_DIR -> IPFS_PATH
closes #394 https://github.com/jbenet/go-ipfs/issues/394
2015-01-21 17:09:39 -08:00
Juan Batiz-Benet
ed41ac27fd daemon: refactor common parts of serve funcs 2015-01-12 01:01:21 -08:00
Christian Couder
9e8fc3826a install-sharness.sh: use git instead of wget and shasum
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-01-09 23:13:48 +01:00
Juan Batiz-Benet
cecfa45745 moved sharness tests to a subdir.
kept bin in place
2015-01-07 07:10:17 -08:00