Re: [virt-bootstrap] [PATCH 2/4] tests: fix typo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2018-04-28 at 23:21 +0100, Radostin Stoyanov wrote:
> Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx>
> ---
>  tests/docker_source.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/docker_source.py b/tests/docker_source.py
> index ba6f930..0521322 100644
> --- a/tests/docker_source.py
> +++ b/tests/docker_source.py
> @@ -133,7 +133,7 @@ class TestDirDockerSource(ImageAccessor):
>          layers_rootfs = layers.get_layers_rootfs()
>          for rootfs_tree in layers_rootfs[::-1]:
>              self.rootfs_tree = rootfs_tree
> -            self.check_rootfs(skip_ownership=(os.geteuid != 0))
> +            self.check_rootfs(skip_ownership=(os.geteuid() != 0))
>  
>      @unittest.skipIf(NOT_ROOT, "Root privileges required")
>      def test_dir_ownership_mapping(self):

ACK
--
Cedric

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux