[ovs-dev] [PATCH V7 03/16] python tests: Fixed ctl file name for Windows

Alin Serdean aserdean at cloudbasesolutions.com
Thu Jul 21 13:14:58 UTC 2016


Beside a small alignment problem:

Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>


> -----Mesaj original-----
> De la: dev [mailto:dev-bounces at openvswitch.org] În numele Paul Boca
> Trimis: Friday, July 15, 2016 5:21 PM
> Către: dev at openvswitch.org
> Subiect: [ovs-dev] [PATCH V7 03/16] python tests: Fixed ctl file name for
> Windows
> 
> On Windows the CTL filename doesn't contain the pid of the process.
> 
> Signed-off-by: Paul-Daniel Boca <pboca at cloudbasesolutions.com>
> +            if sys.platform == "win32":
> +                path = "punix:%s/%s.ctl" % (ovs.dirs.RUNDIR,
> +                                               ovs.util.PROGRAM_NAME)
[Alin Gabriel Serdean: ] Small alignment problem.
> +            else:
> +                path = "punix:%s/%s.%d.ctl" % (ovs.dirs.RUNDIR,
> +                                               ovs.util.PROGRAM_NAME,
> +                                               os.getpid())
> 
>          if version is None:
>              version = ovs.version.VERSION
> --
> 2.7.2.windows.1
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list