Re: Tests requiring root

2013-05-06 Thread Ludovic Courtès
Andreas Enge andr...@enge.fr skribis: I suspect one needs to be root to run the tests instead of a build user. Do you see a way of carrying out the tests? No. I think it’s fine to skip the test suite in such cases. I suspect the only workaround is to run the test suite manually on your

Tests requiring root

2013-05-04 Thread Andreas Enge
I am trying to package lvm2 as a prerequisite for cryptsetup. Most tests fail with: ## teardown.../dev/mapper/control: open failed: Permission denied Failure to communicate with kernel device-mapper driver. Command failed and mknod: '/tmp/nix-build-