test(sharness): fix test for updated address filters
Steven Allen committed
May 10, 2021 at 21:34 UTC
3b254a631f57d6290ab8179c0cacd72f24ca7dea
2 files changed
+2
-2
test/sharness/t0020-init.sh
+1
-1
@@ -202,7 +202,7 @@ test_expect_success "'ipfs init --profile' succeeds" '
202
203
test_expect_success "'ipfs config Swarm.AddrFilters' looks good" '
204
ipfs config Swarm.AddrFilters > actual_config &&
205
- test $(cat actual_config | wc -l) = 22
205
+ test $(cat actual_config | wc -l) = 18
206
'
207
208
test_expect_success "clean up ipfs dir" '
test/sharness/t0021-config.sh
+1
-1
@@ -209,7 +209,7 @@ test_config_cmd() {
209
210
test_expect_success "'ipfs config Swarm.AddrFilters' looks good with server profile" '
211
ipfs config Swarm.AddrFilters > actual_config &&
212
- test $(cat actual_config | wc -l) = 22
212
+ test $(cat actual_config | wc -l) = 18
213
'
214
215
test_expect_success "'ipfs config profile apply local-discovery' works" '