@cryptotaxi247 / kubo / commits / 8892bbf2c

fix add-and-cat test: we no longer set a default CIDv0

Instead, we choose it based on whether or not we can actually support CIDv0. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Jan 23, 2018 at 22:18 UTC 8892bbf2c6bbddb87a755e4f1ba93c372765cb11
1 file changed +1 -1
test/sharness/t0040-add-and-cat.sh
+1 -1
@@ -554,7 +554,7 @@ test_add_cat_expensive "--cid-version=1" "zdj7WcatQrtuE4WMkS4XsfsMixuQN2po4irkYh
554 # encoded with the blake2b-256 hash funtion
555 test_add_cat_expensive '--hash=blake2b-256' "zDMZof1kwndounDzQCANUHjiE3zt1mPEgx7RE3JTHoZrRRa79xcv"
556
557 -test_add_named_pipe " Post http://$API_ADDR/api/v0/add?chunker=size-262144&cid-version=0&encoding=json&hash=sha2-256&pin=true&progress=true&recursive=true&stream-channels=true:"
557 +test_add_named_pipe " Post http://$API_ADDR/api/v0/add?chunker=size-262144&encoding=json&hash=sha2-256&pin=true&progress=true&recursive=true&stream-channels=true:"
558
559 test_add_pwd_is_symlink
560