1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 23:21:54 +08:00

t0044: fail when 'ipfs add' fails

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
Christian Couder
2015-10-03 22:54:23 +02:00
parent 7b81e4e885
commit bf8adc6c69

View File

@ -18,7 +18,8 @@ test_expect_success "creating files succeeds" '
test_add_symlinks() {
test_expect_success "ipfs add files succeeds" '
ipfs add -q -r files | tail -n 1 > filehash_out
ipfs add -q -r files >filehash_all &&
tail -n 1 filehash_all >filehash_out
'
test_expect_success "output looks good" '