mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-28 17:03:58 +08:00
Merge pull request #2913 from ipfs/feature/test-stdin-hang
sharness: Tests for #2868 - --help hanging on stdin
This commit is contained in:
@ -14,4 +14,12 @@ test_expect_success "ipfs init with occupied input works - #2748" '
|
||||
rm -rf ipfs_path
|
||||
'
|
||||
|
||||
test_expect_success "ipfs cat --help succeeds with no input" '
|
||||
time-out ipfs cat --help
|
||||
'
|
||||
|
||||
test_expect_success "ipfs pin ls --help succeeds with no input" '
|
||||
time-out ipfs pin ls --help
|
||||
'
|
||||
|
||||
test_done
|
||||
|
Reference in New Issue
Block a user