Skip to content

Commit 95a63f1

Browse files
committed
test: fix the grep in t0046
1 parent 385f7f1 commit 95a63f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sharness/t0046-id-hash.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_expect_success "ipfs add succeeds with identity hash" '
2525
'
2626

2727
test_expect_success "content not actually added" '
28-
ipfs refs local | fgrep -q -v $HASH
28+
! ipfs refs local | fgrep -q $HASH
2929
'
3030

3131
test_expect_success "but can fetch it anyway" '
@@ -98,7 +98,7 @@ test_expect_success "ipfs add succeeds with identity hash and --nocopy" '
9898
'
9999

100100
test_expect_success "content not actually added (filestore enabled)" '
101-
ipfs refs local | fgrep -q -v $HASH
101+
! ipfs refs local | fgrep -q $HASH
102102
'
103103

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

0 commit comments

Comments
 (0)