make tests pass under travis.
make tests pass under travis.

sudo tests were failing under travis because they were not
being run as root.  this change runs the root tests as root,
and chowns the tests' "tmp" directory back to the original
user to allow the subsequent 'realworld' tests to pass.

jingweno/bundler,smlance/bundler,EasonYi/bundler,christer155/bundler,pjump/bundler,dilumnavanjana/bundler,CorainChicago/bundler,eagletmt/bundler,asutoshpalai/bundler,cdwort/bundler,lmtim/bundler,e2/bundler,EasonYi/bundler,anil826/bundler,chulkilee/bundler,Wirachmat/bundler,bronzdoc/bundler,frsyuki/bundler,tgxworld/bundler,bundler/bundler,haocafes/bundler,carpodaster/bundler,schaary/bundler,joshsoftware/bundler,robinboening/bundler,gentoo/bundler,chulkilee/bundler,ipmobiletech/bundler,jingweno/bundler,neslom/bundler,rkh/bundler,joshsoftware/bundler,sideci-sample/sideci-sample-bundler,wenderjean/bundler,chef/bundler,Teino1978-Corp/Teino1978-Corp-bundler,cstrahan/bundler,masarakki/bundler,wenderjean/bundler,mdorrance/bundler,philnash/bundler,sideci-sample/sideci-sample-bundler,elovelan/bundler,EthanK28/bundler,mvz/bundler,philnash/bundler,ngpestelos/bundler,jaym/bundler,mpapis/bundler,smlance/bundler,frsyuki/bundler,kohgpat/bundler,davydovanton/bundler,masarakki/bundler,byroot/bundler,gregkare/bundler,pivotal-cf-experimental/bundler,steved/bundler,JuanitoFatas/bundler,ngpestelos/bundler,lmtim/bundler,cdwort/bundler,mdorrance/bundler,mpapis/bundler,schaary/bundler,asutoshpalai/bundler,AiyionPrime/bundler,cstrahan/bundler,ligi/bundler,pjump/bundler,Teino1978-Corp/Teino1978-Corp-bundler,mattbrictson/bundler-1,Wirachmat/bundler,ximus/bundler,tgxworld/bundler,seanlinsley/bundler,mattbrictson/bundler-1,h4ck3rm1k3/bundler,1337807/bundler,TimMoore/bundler,dilumnavanjana/bundler,asymmetric/bundler,CorainChicago/bundler,EthanK28/bundler,danimashu/bundler,kohgpat/bundler,twcctz500000/bundler,haonature/bundler,ximus/bundler,pivotal-cf-experimental/bundler,mvz/bundler,AiyionPrime/bundler,haonaturel/bundler,agis-/bundler,neslom/bundler,Eric-Guo/bundler,PG-kura/bundler,patvice/bundler,zhangkuaiji/bundler,RochesterinNYC/bundler,zhangkuaiji/bundler,r7kamura/bundler,elovelan/bundler,robinboening/bundler,byroot/bundler,Elffers/bundler,seanlinsley/bundler,PG-kura/bundler,bundler/bundler,ligi/bundler,Elffers/bundler,agis-/bundler,bronzdoc/bundler,steved/bundler,chef/bundler,jasonkarns/bundler,Eric-Guo/bundler,nju520/bundler,nju520/bundler,christer155/bundler,roseweixel/bundler,vemmaverve/bundler,patvice/bundler,haonature888/bundler,danimashu/bundler,jaym/bundler,h4ck3rm1k3/bundler,jasonkarns/bundler,suhastech/bundler,suhastech/bundler,TimMoore/bundler,davydovanton/bundler,anil826/bundler,asymmetric/bundler,carpodaster/bundler,simplybusiness/bundler,roseweixel/bundler,ipmobiletech/bundler,RochesterinNYC/bundler,simplybusiness/bundler,gregkare/bundler