kubo/test
Lucas Molas 65a18ed669 unixfs: fix dagTruncate to preserve node type
Extract the original `FSNode` passed inside the `ipld.Node` argument and modify
its `Blocksizes` (removing all of them and re-adding the ones that were not
truncated). In contrast, the replaced code was creating a new `FSNode` that was
not preserving some of the features of the original one.

Change `TRUNC_HASH` values in `sharness` that were created with the bug to the
correct values.

License: MIT
Signed-off-by: Lucas Molas <schomatis@gmail.com>
2018-07-18 13:07:21 -03:00
..
3nodetest Removed tour command and fix test 2017-08-09 10:14:57 -04:00
api-startup misc: Remove some dead code 2018-03-21 01:34:04 +01:00
bench remove -f flags from calls to init 2017-07-19 11:46:55 -07:00
bin Corenet API: Use simple util instead of socat for tests 2017-05-31 11:33:17 +02:00
dependencies gx update 2018-06-26 17:11:33 -07:00
integration update go-cid 2018-07-16 15:16:49 -07:00
sharness unixfs: fix dagTruncate to preserve node type 2018-07-18 13:07:21 -03:00
.gitignore test: add IPFS-BUILD-OPTIONS to .gitignore 2015-04-06 18:06:24 +02:00
ipfs-test-lib.sh switch base64 decoder based on OS 2018-01-28 14:13:16 -08:00
README.md test/README: update sharness test coverage 2015-04-02 11:56:49 +02:00
Rules.mk make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
sharness_test_coverage_helper.sh coverage_helper: better group long and short options 2015-10-24 11:22:53 +02:00

Sharness test command coverage

Module Online Test Offline Test
object t0051 t0051
ls t0045 t0045
cat t0040
dht
bitswap
block t0050
daemon t0030 N/A
init N/A t0020
add t0040
config t0021 t0021
version t0060 t0010
ping
diag
mount t0030
name t0110 t0100
pin t0080
get t0090 t0090
refs t0080
repo gc t0080
id
bootstrap t0120 t0120
swarm
update
commands