On 11 October 2014 17:27, Svante Signell <svante.sign...@gmail.com> wrote: > Hello, > > I have a question about how to run tests for a package needing root to > run properly, fakeroot is not sufficient. I've made one of the packages > to build properly with: sudo run_test and fixed the sudoers file. But > how to fix that so the package can be built on a buildd? >
No, you will not get root on buildds. Instead you should use the dep8 autopkgtest, declare your tests in debian/tests/control with restriction that you require root. They will not be run at build time, but rather separately on ci.debian.net / jenkins.ubuntu.com. -- Regards, Dimitri. -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/canbhluize_jqznbcy9zjnd9_d7-iujzkg5pphnrr-gy63n5...@mail.gmail.com