commit 14f76fcab7e1b4dad3a231c06bdc9e6c7bc61a83 Author: Pete Zaitcev zaitcev@redhat.com Date: Fri Nov 11 08:18:57 2011 +0100
tests: fix failing t/oauth test, when using default umask (022)
* t/oauth: Explicitly set permissions of credentials file to 0600.
t/oauth | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) --- diff --git a/t/oauth b/t/oauth index 01eb063..7f47414 100644 --- a/t/oauth +++ b/t/oauth @@ -73,6 +73,7 @@ poke -h localhost:$port -u chiaki -p badpass -b buk -k p1 -i -f p1.data && fail= kill $iwhd_pid sleep 3 echo '[ { "name":"chiaki", "secret":"nodame" } ]' > iwhd.users +chmod 600 iwhd.users iwhd -v -o -u iwhd.users -p $port -c iwhd.cfg -d localhost:$m_port & iwhd_pid=$!
iwhd-commit@lists.fedorahosted.org