[Chapel Merge] Curl check-http-setopt test: add module for error

Branch: refs/heads/main
Revision: 7c5fa9a
Author: ronawho
Log Message:

Merge pull request #18228 from cassella/curl-tests-kill-server

Curl check-http-setopt test: add module for error handling

[contributed by @cassella, reviewed by @ronawho]

Add a module around the test so that on Error we can kill
the http server.

Modified Files:
M test/library/packages/Curl/check-http-setopt.chpl

M test/library/packages/Curl/check-http.chpl

Compare: https://github.com/chapel-lang/chapel/compare/f5e5ea40bd90...7c5fa9a5443a