darkhttpd icon indicating copy to clipboard operation
darkhttpd copied to clipboard

tests: fix failures when run as root user

Open wiselike opened this issue 7 months ago • 1 comments

fix bug #76

wiselike avatar May 30 '25 09:05 wiselike

There are several methods to run the tests:

  1. Using the Dockerfile
  2. Via make test
  3. Running the single test directly in the devel directory

We cannot strictly dictate which method users must use. Additionally, we should avoid implying that "running tests as root is not supported" (users should have flexibility in their environment configuration).

I believe we should be able to run make test with any user account (root or not root) and in any environment, including but not limited to Docker. @emikulic

wiselike avatar Jun 03 '25 14:06 wiselike