diff --git a/src/test/tcp_sockets.run b/src/test/tcp_sockets.run index 7a4684f9203..b390bf4246a 100644 --- a/src/test/tcp_sockets.run +++ b/src/test/tcp_sockets.run @@ -5,11 +5,11 @@ cp ${OBJDIR}/bin/$exe $exe-$nonce just_record $exe-$nonce # The test binary might fail due to IPv6 being unsupported EXIT_CODE=$? -if [[ `rr dump --socket-addresses latest-trace|grep --count 127.0.0.1` != 2 ]]; then +if [[ `rr dump --socket-addresses latest-trace|grep --count -F 127.0.0.1` != 2 ]]; then failed "Wrong number of '127.0.0.1's" fi if [[ $EXIT_CODE == 0 ]]; then - if [[ `rr dump --socket-addresses latest-trace|grep --count ::1:` != 2 ]]; then + if [[ `rr dump --socket-addresses latest-trace|grep --count -F ::1:` != 2 ]]; then failed "Wrong number of '::1:'s" fi -fi \ No newline at end of file +fi