Skip to content

Commit

Permalink
Merge pull request #2913 from ipfs/feature/test-stdin-hang
Browse files Browse the repository at this point in the history
sharness: Tests for #2868 - --help hanging on stdin
  • Loading branch information
whyrusleeping authored Jun 28, 2016
2 parents 5592144 + 9cbec47 commit 80fcac8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/sharness/t0500-issues-and-regressions-offline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 80fcac8

Please sign in to comment.