Skip to content

Commit

Permalink
Merge pull request #3130 from ipfs/test/repo/version-digits
Browse files Browse the repository at this point in the history
test: accept more than one digit in repo version tests
  • Loading branch information
whyrusleeping authored Aug 26, 2016
2 parents 594ae64 + 8181e99 commit 53b927e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sharness/t0080-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,14 @@ test_expect_success "'ipfs repo version' succeeds" '
'

test_expect_success "repo version came out correct" '
egrep "^ipfs repo version fs-repo@[0-9]" repo-version >/dev/null
egrep "^ipfs repo version fs-repo@[0-9]+" repo-version >/dev/null
'

test_expect_success "'ipfs repo version -q' succeeds" '
ipfs repo version -q > repo-version-q
'
test_expect_success "repo version came out correct" '
egrep "^fs-repo@[0-9]" repo-version-q >/dev/null
egrep "^fs-repo@[0-9]+" repo-version-q >/dev/null
'

test_kill_ipfs_daemon
Expand Down

0 comments on commit 53b927e

Please sign in to comment.