[pve-devel] [PATCH container] fix and improve bindmount tests

Dietmar Maurer dietmar at proxmox.com
Fri Jun 3 09:53:39 CEST 2016


> -die "unexpected test error: $@\n" if $@ ne "symlink encountered at: .$ab\n";
> +die "unexpected test error: $@\n" if $@ ne "bindmount verification failed\n";
> +# Restore setup:
> +cleanup();
> +setup();
> +# Race test 2: As above but also reset the symlink back after
> __bindmount_do()
> +eval { bindmount($abc, $rootdir, $destdir, $ab, 0, 0) };

same test again?



More information about the pve-devel mailing list