Skip to content

Commit

Permalink
add msys as OSTYPE option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruby Martin committed Jan 28, 2025
1 parent 8e3b335 commit ee28665
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/ocsp-stapling.test
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ generate_port() {
port=$(($(od -An -N2 /dev/urandom) % (65535-49512) + 49512))
elif [[ "$OSTYPE" == "darwin"* ]]; then
port=$(($(od -An -N2 /dev/random) % (65535-49512) + 49512))
elif [[ "$OSTYPE" == "msys" ]]; then
port=$(($(od -An -N2 /dev/random) % (65535-49512) + 49512))
else
echo "Unknown OS TYPE"
exit 1
Expand Down

0 comments on commit ee28665

Please sign in to comment.