[darcs-users] darcs patch: resolve issue1124: Test pull.sh failed when run as root
David Roundy
droundy at darcs.net
Wed Oct 8 14:05:18 UTC 2008
On Wed, Oct 08, 2008 at 02:04:51PM +0200, Thorkil Naur wrote:
> Wed Oct 8 13:41:34 CEST 2008 Thorkil Naur <naur at post11.tele.dk>
> * resolve issue1124: Test pull.sh failed when run as root
> [resolve issue1124: Test pull.sh failed when run as root
> Thorkil Naur <naur at post11.tele.dk>**20081008114134] hunk ./tests/pull.sh 54
> +elif whoami | grep root; then
> + echo root never gets permission denied
> hunk ./tests/pull.sh 61
> + grep 'permission denied' err
> hunk ./tests/pull.sh 64
> -if echo $OS | grep -i windows; then
> - echo this test does not work on windows, so ignore it
> -else
> - if whoami | grep root; then
> - echo root never gets permission denied
> - else
> - grep 'permission denied' err
> - fi
> -fi
It looks a lot like you're removing the windows case here. Why is
that safe?
David
More information about the darcs-users
mailing list