On Thu, 30 Jun 2011 14:45:28 +0100, Paul Larson paul.larson@linaro.org wrote:
On Thu, Jun 30, 2011 at 3:01 AM, Michael Hudson-Doyle < michael.hudson@linaro.org> wrote:
It's one of these things I've been vaguely meaning to look into for ages -- can you run postgres as an unprivileged user like this for testing? I assume it's possible in some sense, but if e.g. it involves recompiling postgres or any thing like that it's not really practical. But I would be happy to only support postgres.
If we're just talking about doing this testing periodically, and not every time you run the unit tests, could we just do it in a chroot?
I'm talking about trying to get to the situation where we can use a self-contained postgres for our unit tests, so that we can move to only supporting postgres. If we can't do that, then yes, some kind of chroot solution makes sense.
Cheers, mwh