fix traffic generator output parsing
refs #2832
Change-Id: If00b8afb8855ec1cf33bcd8100c89c22656e486e
diff --git a/test_localhost_scope/in-master.sh b/test_localhost_scope/in-master.sh
index a247492..756ffd7 100755
--- a/test_localhost_scope/in-master.sh
+++ b/test_localhost_scope/in-master.sh
@@ -39,7 +39,7 @@
# analyze server log
output=$(grep "Total Interests Received" $workdir/logs/server.log | head -1 | cut -d= -f2 | cut -d' ' -f2)
-if [[ $output != '0' ]]
+if [[ $output != 0?(.+(0)) ]]
then
echo "Expected no Interests received on host B. Actual: $output"
echo "For more information, please examine the log at \"$(pwd)/logs\""