mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-23 03:17:43 +08:00
Add sharness test
License: MIT Signed-off-by: Mateja Milosevic <minima38123@gmail.com>
This commit is contained in:
parent
049bca6d09
commit
48dcd67dfe
@ -46,6 +46,11 @@ test_expect_success "pin add api looks right - #3753" '
|
||||
test_cmp pinrm_out pinrm_exp
|
||||
'
|
||||
|
||||
test_expect_success "no daemon crash on improper file argument - #4003" '
|
||||
FNC=$(echo $API_ADDR | awk -F: '\''{ printf "%s %s", $1, $2 }'\'') &&
|
||||
echo -n "POST /api/v0/add?pin=true HTTP/1.1\r\nHost: $API_ADDR\r\nContent-Type: multipart/form-data; boundary=Pyw9xQLtiLPE6XcI\r\nContent-Length: 22\r\n\r\n\r\n--Pyw9xQLtiLPE6XcI\r\n" | nc -v $FNC | grep "200 OK"
|
||||
'
|
||||
|
||||
test_kill_ipfs_daemon
|
||||
|
||||
test_expect_success "ipfs daemon --offline --mount fails - #2995" '
|
||||
|
||||
Loading…
Reference in New Issue
Block a user