Skip to content

Commit 204ea6f

Browse files
committed
add entry.ttl check
1 parent a38adc6 commit 204ea6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sharness/t0100-name.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ test_name_with_self() {
242242
'
243243

244244
test_expect_success "'ipfs name inspect --verify' has '.Validation.Validity' set to 'true' with correct Peer ID" '
245-
ipfs name inspect --verify $PEERID --enc json < ipns_record | jq -e ".Validation.Valid == true"
245+
ipfs name inspect --verify $PEERID --enc json < ipns_record | jq -e ".Validation.Valid == true and .Entry.TTL == .Entry.Data.TTL"
246246
'
247247

248248
test_expect_success "'ipfs name inspect --verify' has '.Validation.Validity' set to 'false' with incorrect Peer ID" '

0 commit comments

Comments
 (0)