Make commandtest more robust wrt its execution environment
Make commandtest more robust wrt its execution environment

When executed from cron, commandtest would fail to correctly
identify daemon processes. Set session ID and process group
IDs at startup to ensure we have a consistent environment to
run in.

* tests/commandtest.c: Call setsid() and setpgid()

usc-isi/libvirt,VenkatDatta/libvirt,shugaoye/libvirt,elmarco/libvirt,rbu/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,kantai/libvirt-vfork,rlaager/libvirt,taget/libvirt,trainstack/libvirt,foomango/libvirt,wiedi/libvirt,leilihh/libvirt,bjzhang/libvirt,jeckersb/libvirt,dumbbell/libvirt,emaste/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,kantai/libvirt-vfork,crobinso/libvirt,wiedi/libvirt,eskultety/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,rbu/libvirt,jeckersb/libvirt,wiedi/libvirt,datto/libvirt,jfehlig/libvirt,emaste/libvirt,rmarwaha/libvirt,olafhering/libvirt,libvirt/libvirt,warewolf/libvirt,taget/libvirt,rlaager/libvirt,rmarwaha/libvirt,datto/libvirt,siboulet/libvirt-openvz,danwent/libvirt-ovs,novel/fbsd-libvirt,zippy2/libvirt,danwent/libvirt-ovs,fabianfreyer/libvirt,olafhering/libvirt,dumbbell/libvirt,crobinso/libvirt,rmarwaha/libvirt1,novel/fbsd-libvirt,nertpinx/libvirt,novel/fbsd-libvirt,bjzhang/libvirt,leilihh/libvirt,andreabolognani/libvirt,foomango/libvirt,andreabolognani/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,cbosdo/libvirt,datto/libvirt,bjzhang/libvirt,rbu/libvirt,usc-isi/libvirt,soulxu/libvirt-xuhj,zippy2/libvirt,nertpinx/libvirt,trainstack/libvirt,VenkatDatta/libvirt,libvirt/libvirt,foomango/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,jeckersb/libvirt,VenkatDatta/libvirt,dumbbell/libvirt,novel/fbsd-libvirt,elmarco/libvirt,usc-isi/libvirt,VenkatDatta/libvirt,rmarwaha/libvirt1,zippy2/libvirt,wiedi/libvirt,jeckersb/libvirt,leilihh/libvirt,libvirt/libvirt,taget/libvirt,warewolf/libvirt,nertpinx/libvirt,agx/libvirt,rmarwaha/libvirt,warewolf/libvirt,rmarwaha/libvirt1,olafhering/libvirt,shugaoye/libvirt,elmarco/libvirt,bjzhang/libvirt,nertpinx/libvirt,crobinso/libvirt,usc-isi/libvirt,fabianfreyer/libvirt,siboulet/libvirt-openvz,trainstack/libvirt,rlaager/libvirt,eskultety/libvirt,zhlcindy/libvirt-1.1.4-maintain,iam-TJ/libvirt,jfehlig/libvirt,jeckersb/libvirt,cbosdo/libvirt,emaste/libvirt,rmarwaha/libvirt,soulxu/libvirt-xuhj,wiedi/libvirt,taget/libvirt,shugaoye/libvirt,soulxu/libvirt-xuhj,jardasgit/libvirt,warewolf/libvirt,iam-TJ/libvirt,dumbbell/libvirt,emaste/libvirt,rbu/libvirt,fabianfreyer/libvirt,iam-TJ/libvirt,agx/libvirt,andreabolognani/libvirt,danwent/libvirt-ovs,agx/libvirt,leilihh/libvirt,leilihh/libvirt,zhlcindy/libvirt-1.1.4-maintain,rbu/libvirt,rlaager/libvirt,novel/fbsd-libvirt,danwent/libvirt-ovs,taget/libvirt,dumbbell/libvirt,leilihh/libvirt,shugaoye/libvirt,wiedi/libvirt,agx/libvirt,shugaoye/libvirt,andreabolognani/libvirt,siboulet/libvirt-openvz,dumbbell/libvirt,cbosdo/libvirt,datto/libvirt,emaste/libvirt,trainstack/libvirt,libvirt/libvirt,warewolf/libvirt,rmarwaha/libvirt1,warewolf/libvirt,rmarwaha/libvirt1,jeckersb/libvirt,warewolf/libvirt,zippy2/libvirt,iam-TJ/libvirt,jardasgit/libvirt,novel/fbsd-libvirt,jardasgit/libvirt,rmarwaha/libvirt1,iam-TJ/libvirt,soulxu/libvirt-xuhj,wiedi/libvirt,rlaager/libvirt,datto/libvirt,kantai/libvirt-vfork,siboulet/libvirt-openvz,fabianfreyer/libvirt,elmarco/libvirt,jfehlig/libvirt,iam-TJ/libvirt,trainstack/libvirt,eskultety/libvirt,eskultety/libvirt,agx/libvirt,elmarco/libvirt,cbosdo/libvirt,jardasgit/libvirt,novel/fbsd-libvirt,novel/fbsd-libvirt,bjzhang/libvirt,foomango/libvirt,jardasgit/libvirt,crobinso/libvirt,olafhering/libvirt,nertpinx/libvirt,danwent/libvirt-ovs,zhlcindy/libvirt-1.1.4-maintain,kantai/libvirt-vfork,rmarwaha/libvirt,trainstack/libvirt,andreabolognani/libvirt,novel/fbsd-libvirt,emaste/libvirt,emaste/libvirt,soulxu/libvirt-xuhj,foomango/libvirt,usc-isi/libvirt,jfehlig/libvirt,cbosdo/libvirt