@cryptotaxi247 / kubo / commits / 0c56ac104

update rabin min error test

License: MIT Signed-off-by: Kejie Zhang <601172892@qq.com>

Kejie Zhang committed Sep 13, 2018 at 10:44 UTC 0c56ac104bca7df8e0d2b592fb809cfdff9dcaa0
1 file changed +3 -3
test/sharness/t0040-add-and-cat.sh
+3 -3
@@ -157,11 +157,11 @@ test_add_cat_file() {
157 '
158
159 test_expect_success "ipfs add --chunker rabin-36-512-1024 succeeds" '
160 - ipfs add --chunker rabin-36-512-1024 mountdir/hello.txt >actual
160 + ipfs add -Q --chunker rabin-36-512-1024 mountdir/hello.txt
161 '
162
163 - test_expect_failure "ipfs add --chunker rabin-12-512-1024 failed" '
164 - ipfs add --chunker rabin-12-512-1024 mountdir/hello.txt >actual
163 + test_expect_code 127 "ipfs add --chunker rabin-12-512-1024 failed" '
164 + ipfs add -Q --chunker rabin-12-512-1024 mountdir/hello.txt
165 '
166
167