File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ test_launch_ipfs_daemon
101
101
102
102
test_expect_success " Addresses.NoAnnounce affects addresses from Announce and AppendAnnounce" '
103
103
ipfs swarm addrs local >actual &&
104
- grep -v "/ip4/1.2.3.4/tcp/1234" actual &&
105
- grep -v "/ip4/10.20.30.40/tcp/4321" actual &&
104
+ test_should_not_contain "/ip4/1.2.3.4/tcp/1234" actual &&
105
+ test_should_not_contain "/ip4/10.20.30.40/tcp/4321" actual &&
106
106
ipfs id -f"<addrs>" | xargs -n1 echo >actual &&
107
- grep -v "/ip4/1.2.3.4/tcp/1234" actual &&
108
- grep -v "//ip4/10.20.30.40/tcp/4321" actual
107
+ test_should_not_contain "/ip4/1.2.3.4/tcp/1234" actual &&
108
+ test_should_not_contain "//ip4/10.20.30.40/tcp/4321" actual &&
109
109
'
110
110
111
111
test_kill_ipfs_daemon
@@ -119,9 +119,9 @@ test_launch_ipfs_daemon
119
119
120
120
test_expect_success " Addresses.NoAnnounce with /ipcidr affects addresses" '
121
121
ipfs swarm addrs local >actual &&
122
- grep -v "/ip4/1.2.3.4/tcp/1234" actual &&
122
+ test_should_not_contain "/ip4/1.2.3.4/tcp/1234" actual &&
123
123
ipfs id -f"<addrs>" | xargs -n1 echo >actual &&
124
- grep -v "/ip4/1.2.3.4/tcp/1234" actual
124
+ test_should_not_contain "/ip4/1.2.3.4/tcp/1234" actual &&
125
125
'
126
126
127
127
test_kill_ipfs_daemon
You can’t perform that action at this time.
0 commit comments