[ovs-git] [openvswitch/ovs] c2104b: tests-windows: Make flow extractor work on Windows

GitHub noreply at github.com
Thu Mar 8 01:03:35 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c2104b9bcd655bb39b99295ef8ba59152dba2a04
      https://github.com/openvswitch/ovs/commit/c2104b9bcd655bb39b99295ef8ba59152dba2a04
  Author: Alin Gabriel Serdean <aserdean at ovn.org>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M tests/flowgen.py
    M tests/library.at

  Log Message:
  -----------
  tests-windows: Make flow extractor work on Windows

+Traceback (most recent call last):
+  File "../.././flowgen.py", line 204, in <module>
+    flows = os.fdopen(3, 'wb')
+OSError: [Errno 9] Bad file descriptor
./library.at:4: exit code was 1, expected 0

Unfortunately 3/4/5/.. FDs don't work on Windows. Switch to a filename open
instead of opening the FDs.

Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list