fix traffic generator output parsing
refs #2832
Change-Id: If00b8afb8855ec1cf33bcd8100c89c22656e486e
diff --git a/test_unixface/unix-face-test.sh b/test_unixface/unix-face-test.sh
index 0c25793..839a76b 100755
--- a/test_unixface/unix-face-test.sh
+++ b/test_unixface/unix-face-test.sh
@@ -19,7 +19,7 @@
echo "ndn-traffic client does not end normally. See logs/client.log"
exit 1
fi
-if [[ $output != '0' ]]
+if [[ $output != 0?(.+(0)) ]]
then
echo "Expected no interest Loss. Actual: $output%"
echo "For more information, please examine the log at \"$(pwd)/logs\""