mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
pfsync tests: check for the correct IP address
When checking if the state synced over we should look for
198.51.100.254, not 198.51.100.2. The test worked because the incorrect
address is a substring of the correct one, but we should fix it anyway.
Reported by: Naman Sood <[email protected]>
MFC after: 1 week
(cherry picked from commit 0d574d8ba8)
This commit is contained in:
1 parent
886d82afb0
commit
78c6659238
1 file changed
+1
-1
@@ -87,7 +87,7 @@ common_body()
|
||||
sleep 2
|
||||
|
||||
if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
|
||||
grep 198.51.100.2 ; then
|
||||
grep 198.51.100.254 ; then
|
||||
atf_fail "state not found on synced host"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user