From: Petteri Aimonen Date: Fri, 30 Dec 2011 09:05:01 +0000 (+0000) Subject: Make the fuzztest runnable again X-Git-Tag: 3.99.1~14^2~510 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=b5fb97f6f58a1aebe4095c5e9cae5c4bd777812e;p=apps%2Flow-level-can-service.git Make the fuzztest runnable again git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1091 e3a754e5-d11d-0410-8d38-ebb782a927b9 --- diff --git a/tests/Makefile b/tests/Makefile index 899a686..11f061a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -57,5 +57,5 @@ run_unittests: decode_unittests encode_unittests test_encode1 test_encode2 test_ [ "`./test_encode_callbacks | ./test_decode_callbacks`" = \ "`./test_encode_callbacks | protoc --decode=TestMessage callbacks.proto`" ] -run_fuzztest: test_decode1 - bash -c 'I=1; while cat /dev/urandom | ./test_decode1 > /dev/null; do I=$$(($$I+1)); echo -en "\r$$I"; done' +run_fuzztest: test_decode2 + bash -c 'I=1; while true; do cat /dev/urandom | ./test_decode2 > /dev/null; I=$$(($$I+1)); echo -en "\r$$I"; done'