Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions xdp-dump/tests/test-xdpdump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,11 @@ test_promiscuous_selfload()
fi

RESULT=$(dmesg)
if [[ "$RESULT" != *"device $NS entered promiscuous mode"* ]]; then
if [[ "$RESULT" != *"device $NS entered promiscuous mode"* ]] && [[ "$RESULT" != *"$NS: entered promiscuous mode"* ]]; then
print_result "Failed enabling promiscuous mode on legacy interface"
return 1
fi
if [[ "$RESULT" != *"device $NS left promiscuous mode"* ]]; then
if [[ "$RESULT" != *"device $NS left promiscuous mode"* ]] && [[ "$RESULT" != *"$NS: left promiscuous mode"* ]]; then
print_result "Failed disabling promiscuous mode on legacy interface"
return 1
fi
Expand All @@ -477,11 +477,11 @@ test_promiscuous_preload()
fi

RESULT=$(dmesg)
if [[ "$RESULT" != *"device $NS entered promiscuous mode"* ]]; then
if [[ "$RESULT" != *"device $NS entered promiscuous mode"* ]] && [[ "$RESULT" != *"$NS: entered promiscuous mode"* ]]; then
print_result "Failed enabling promiscuous mode on interface"
return 1
fi
if [[ "$RESULT" != *"device $NS left promiscuous mode"* ]]; then
if [[ "$RESULT" != *"device $NS left promiscuous mode"* ]] && [[ "$RESULT" != *"$NS: left promiscuous mode"* ]]; then
print_result "Failed disabling promiscuous mode on interface"
return 1
fi
Expand Down