diff options
author | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-12-30 09:05:01 +0000 |
---|---|---|
committer | Petteri Aimonen <jpa@npb.mail.kapsi.fi> | 2011-12-30 09:05:01 +0000 |
commit | b5fb97f6f58a1aebe4095c5e9cae5c4bd777812e (patch) | |
tree | d87be7b20b10a503880688e396cf9611d4ce52bd | |
parent | a3f5e4d81f8d81e208f33dded6d892fbbdce90bc (diff) |
Make the fuzztest runnable again
git-svn-id: https://svn.kapsi.fi/jpa/nanopb@1091 e3a754e5-d11d-0410-8d38-ebb782a927b9
-rw-r--r-- | tests/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile index 899a6865..11f061a2 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' |