summaryrefslogtreecommitdiff
path: root/tests/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add system-userspace-testsuite.Daniele Di Proietto2015-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | The new system-userspace-testsuite, which can be launched via `make check-system-userspace`, reuses the kmod tests on the userspace datapath. The userspace datapath is already tested by the main testsuite (and that's not going to change), but having also the system-userspace-testsuite has the following advantages: * More complicated tests are possible: real client and server applications can be used. * The same tests run on both kernel and userspace datapath: this gives us an easy way to make sure that the behaviour is consistent (e.g. with the upcoming connection tracker integration) The userspace datapath is able to use system network interfaces via an AF_PACKET socket. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* tests: Rename kmod-testsuite to system-kmod-testsuite.Daniele Di Proietto2015-08-071-1/+1
| | | | | | | | The name makes more sense, especially with the addition of a userspace system testsuite. No functional change in this commit. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* ofpbuf: Update msg when resizing ofpbuf.Alex Wang2015-07-201-0/+1
| | | | | | | | | | | | | | | | | | | | | Commit 6fd6ed7 (ofpbuf: Simplify ofpbuf API.) introduced the 'header' and 'msg' pointers to 'struct ofpbuf'. However, we forget to update the 'msg' pointer when resizing ofpbuf. This bug could cause serious issue. For example, in the function ofputil_encode_nx_packet_in(), the 'msg' pointer is populated in ofpraw_alloc_xid() when creating the ofpbuf . Later, the ofpbuf memory can be reallocated due to the writing to the ofpbuf. However, since the 'msg' pointer is not updated, the later use of the 'ofpbuf->msg' will end up writing to either free'ed memory or memory allocated for other struct. This commit fixes the bug by always updating the 'header' and 'msg' pointers when the ofpbuf is resized. Also, a simple test is added. Signed-off-by: Alex Wang <alexw@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* Add testsuite.tmp.orig to .gitignoreAlin Serdean2015-03-161-0/+1
| | | | | | | Adding the file: tests/testsuite.tmp.orig to tests/.gitignore Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Add tests/kmod-testsuite to .gitignoreLorand Jakab2015-01-191-0/+1
| | | | | Signed-off-by: Lorand Jakab <lojakab@cisco.com> Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
* lib: Add test for library usageThomas Graf2014-12-151-0/+1
| | | | | | | | This test covers inclusion of public header files and basic usage of the API such as vlog. Signed-off-by: Thomas Graf <tgraf@noironetworks.com> Acked-by: Ben Pfaff <blp@nicira.com>
* tests/ovs_client: Remove broken debug codeStephen Finucane2014-11-251-0/+1
| | | | | | | | | | | | | There is some debug "logging" code included in the 'ovs_client' application. This code appears to be broken as it spams stdout with duplicated "log" messages. Remove this code. This patch also renames ovs_client to ring_client. In addition, add the 'test-dpdkr' executable to the 'tests/.gitignore' file. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
* Rapid Spanning Tree Protocol (IEEE 802.1D).Daniele Venturino2014-09-091-0/+1
| | | | | | | | | This is the v5 from June 12th, 2014, rebased to OVS master, further changes in following patches. Signed-off by: Daniele Venturino <daniele.venturino@m3s.it> Signed-off by: Martino Fornasa <mf@fornasa.it> Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Daniele Venturino <daniele.venturino@m3s.it>
* test-controller: Rename to ovs-testcontroller, again install.Ben Pfaff2014-08-261-2/+0
| | | | | | | | | | | mininet uses the Open vSwitch controller by default, for testing. CC: 757761@bugs.debian.org Reported-at: https://bugs.debian.org/757761 Requested-by: Tomasz Buchert <tomasz.buchert@inria.fr> Requested-by: Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
* util: Don't compile couple of unused function for Windows.Gurucharan Shetty2014-06-241-1/+0
| | | | | | | | | | | | basename() and dir_name() are not used for Windows and won't work well if used. So put a '#ifndef _WIN32' around them to prevent future calls. test-file_name.c tests the above 2 functions. It makes sense to merge this single function file with test-util.c and then not compile it for Windows. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* tests: add ovstest to .gitignoreLorand Jakab2014-04-031-0/+1
| | | | | Signed-off-by: Lorand Jakab <lojakab@cisco.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovs-controller: Rename test-controller and do not install or package.Ben Pfaff2013-11-021-0/+2
| | | | | | | | | Too many users have incorrectly assumed that ovs-controller is a necessary or desirable part of an Open vSwitch deployment. This commit should fix the problem by renaming it test-controller and removing it from the default install and from packaging. Signed-off-by: Ben Pfaff <blp@nicira.com>
* tests: Add test-atomic to .gitignore.Ethan Jackson2013-07-041-0/+1
| | | | Signed-off-by: Ethan Jackson <ethan@nicira.com>
* tests: Add test-hindex to gitignore.Ethan Jackson2013-06-181-0/+1
| | | | | Signed-off-by: Ethan Jackson <ethan@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* tests: Add test-sflow to .gitignore.Ethan Jackson2013-04-091-0/+1
| | | | Signed-off-by: Ethan Jackson <ethan@nicira.com>
* heap: New library that implements a binary heap-based priority queue.Ben Pfaff2012-02-011-0/+1
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* tests: Update gitignore to include test-netflow.Ethan Jackson2011-12-191-0/+1
| | | | Signed-off-by: Ethan Jackson <ethan@nicira.com>
* test-openflowd: Remove.Ben Pfaff2011-10-241-2/+0
| | | | Some users were still confused by its presence.
* Add back 802.1D Spanning Tree Protocol (STP) library code.Justin Pettit2011-10-221-1/+2
| | | | | | | | | | | | At one point, the OVS distribution contained an IEEE 802.1D Spanning Tree Protocol (STP) library written by Ben Pfaff and based on the 802.1D-1998 reference code. It was never integrated into ovs-vswitchd, so it was removed as part of commit ba18611 (Remove vestigial support for Spanning Tree Protocol.) This commit reintroduces the library, cleans up a few spots, and makes it build cleanly against new code. A future commit will have ovs-vswitchd use this library.
* tests: Update gitignore.Ethan Jackson2011-08-121-0/+1
|
* git: Update gitignore in tests and utilities.Ethan Jackson2011-07-281-0/+1
|
* vswitch: Implement bundle action.Ethan Jackson2011-07-191-0/+1
| | | | | | This patch creates a new action called "bundle". Bundles are a way to implement a simple form of multipath in OpenFlow by grouping several ports in a single output-like action.
* ovs-openflowd: Rename test-openflowd and move to "tests" directory.Ben Pfaff2011-06-071-0/+2
| | | | | Too many users thought that they needed to run ovs-openflowd at the same time as ovs-vswitchd. I hope that this change discourages them.
* gitignore: Added ovs-vlan-bug-workaround and testsEthan Jackson2011-03-221-0/+5
|
* ofproto: Remove controller discovery support.Ben Pfaff2011-03-161-1/+0
| | | | | | I've never heard of anyone actually using controller discovery. It adds a great deal of code to the source tree, and a little bit of complication to ofproto, so this commit removes it.
* tests: Add test suite for packets.h.Justin Pettit2011-02-011-0/+1
| | | | | | This only tests ip_is_cidr(), since that is the only tricky function currently defined. This will get more use once IPv6 functions are added.
* Add some new generated files to .gitignore.Justin Pettit2011-01-111-0/+4
| | | | A few generated files have snuck in that should be ignored by git.
* socket-util: Work around Unix domain socket path name limits on Linux.Ben Pfaff2010-11-101-0/+1
| | | | | | | | | | | | | | | | | | Many Open vSwitch tests fail on Debian's automatic build machines because the builds occur in deeply nested directories with long names. OVS tries to bind and connect to Unix domain sockets using absolute path names, which in combination with long directory names means that the socket's name exceeds the limit for Unix domain socket names (108 bytes on Linux). This commit works around the problem on Linux by indirecting through /proc/self/fd/<dirfd>/<basename> when names exceed the maximum that can be used directly. Reported-by: Hector Oron <hector.oron@gmail.com> Reported-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Reported-by: Roger Leigh <rleigh@codelibre.net> Debian bug #602891. Debian bug #602911.
* util: New function base_name().Ben Pfaff2010-11-101-1/+1
|
* Remove vestigial support for Spanning Tree Protocol.Ben Pfaff2010-08-131-1/+0
| | | | | | | | | Open vSwitch has never properly supported IEEE 802.1D Spanning Tree Protocol (STP), but it has various bits and pieces that claim to support it. This commit deletes them, to reduce the amount of dead code in the tree. We can always reintroduce it later if it proves to be a good idea. Bug #1175.
* Cleanly separate IDL annotations from OVSDB schema information.Ben Pfaff2010-01-261-1/+1
| | | | | | | | | | | | | | | | | Until now, the OVSDB IDL annotations have been glommed together with the schema information in a single file, and then we've used ovsdb-idlc to extract the schema from that file. This commit reverses the process: the schema and the annotations are stored separately and then glommed together as necessary at build time. This new arrangement has a few advantages: - We can now easily have multiple different sets of IDL annotations for a single OVSDB schema. For example, some users may not need access to columns that other users do. - Bugs in ovsdb-idlc cannot screw up the underlying schema (as shown by a recent commit).
* Update .gitignore filesJustin Pettit2009-12-101-0/+16
|
* Implement JSON parsing and serialization.Ben Pfaff2009-11-041-0/+1
| | | | This will be used by the upcoming Open vSwitch configuration database.
* Use Autotest for the Open vSwitch test suite.Ben Pfaff2009-07-291-0/+1
| | | | | | | | | Autotest doesn't provide a lot of benefit by itself but it does allow us to easily put a wrapper around each test by using a macro to invoke it. (To do that with the built-in Automake test framework you need to write or generate a separate wrapper script for each test, which is a pain.) The next commit will take advantage of this possibility by adding support for code coverage analysis.
* Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.v0.90.0Ben Pfaff2009-07-081-0/+10