Skip to content

Commit

Permalink
test: fix the grep in t0046
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsenta committed Feb 16, 2023
1 parent c46006b commit 13c0a29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/sharness/t0046-id-hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ test_expect_success "ipfs add succeeds with identity hash" '
'

test_expect_success "content not actually added" '
ipfs refs local | fgrep -q -v $HASH
ipfs refs local > locals
test_should_not_contain $HASH locals
'

test_expect_success "but can fetch it anyway" '
Expand Down Expand Up @@ -98,7 +99,8 @@ test_expect_success "ipfs add succeeds with identity hash and --nocopy" '
'

test_expect_success "content not actually added (filestore enabled)" '
ipfs refs local | fgrep -q -v $HASH
ipfs refs local > locals
test_should_not_contain $HASH locals
'

test_expect_success "but can fetch it anyway (filestore enabled)" '
Expand Down

0 comments on commit 13c0a29

Please sign in to comment.