GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bitset/run_fuzz_tests.sh at master · bits-and-blooms/bitset

Expand file tree

/

run_fuzz_tests.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
40 lines (34 loc) · 994 Bytes
/

run_fuzz_tests.sh

Copy path

File metadata and controls

executable file
·
40 lines (34 loc) · 994 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
# Script to run all bitset fuzz tests for a configurable duration or number of iterations.
# Usage: ./run_fuzz_tests.sh [duration/iterations]
# Examples:
# ./run_fuzz_tests.sh # Uses default 60s
# ./run_fuzz_tests.sh 10s # Run each test for 10 seconds
# ./run_fuzz_tests.sh 1000x # Run each test for 1000 iterations
# Set default duration/iterations if not provided
FUZZTIME=${1:-60s}
echo "Running BitSet fuzz tests for: $FUZZTIME"
echo ""
# List of all available fuzz tests
FUZZ_TESTS=(
FuzzCapacityAndGrowth
FuzzIterationConsistency
FuzzStringRepresentations
FuzzBasicOps
FuzzRange
FuzzSetOperations
FuzzNavigation
FuzzShift
FuzzModification
FuzzCopy
FuzzSerialization
FuzzRandomOperations
)
# Run each fuzz test
for test in "${FUZZ_TESTS[@]}"; do
echo "Testing $test..."
go test -fuzz=$test -fuzztime=$FUZZTIME
echo ""
done
echo ""
echo "All available fuzz tests completed for: $FUZZTIME"
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.