build_and_run.sh 754 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/sh
  2. #################
  3. # call build.sh
  4. $(dirname $0)/build.sh
  5. #################
  6. echo ""
  7. echo "====================="
  8. echo "== run fuzz test 1 =="
  9. echo "====================="
  10. echo ""
  11. ./civetweb_fuzz1 -max_total_time=60 -max_len=2048 fuzztest/url/
  12. echo ""
  13. echo "====================="
  14. echo "== run fuzz test 2 =="
  15. echo "====================="
  16. echo ""
  17. ./civetweb_fuzz2 -max_total_time=60 -max_len=2048 -dict=fuzztest/http1.dict fuzztest/http1/
  18. echo ""
  19. echo "====================="
  20. echo "== run fuzz test 3 =="
  21. echo "====================="
  22. echo ""
  23. ./civetweb_fuzz3 -max_total_time=60 -max_len=2048 -dict=fuzztest/http1.dict fuzztest/http1c/
  24. echo ""
  25. echo "====================="
  26. echo "== fuzz tests done =="
  27. echo "====================="
  28. echo ""