search for: all_tests

Displaying 10 results from an estimated 10 matches for "all_tests".

2006 Jan 30
1
Running Rails Tests in Eclipse Test::Unit GUI
...t the "elegant" way when I can just create a new file that requires all my test files. There''s no reason one couldn''t get it identical to the "rake way," but I didn''t feel like fighting any more. I made a new file in the test directory, I called it all_tests.rb but you can call it whatever you want. The contents is (one line): ["unit","functional"].each { |t| Dir.foreach("test/#{t}") { |f| require "test/#{t}/#{f}" if f =~ /.*\.rb/} } There''s no need for it to be a one-liner, I made it that way cause...
2023 Mar 28
2
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...selftests/net/forwarding/bridge_locked_port.sh b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh index dbc7017fd45d..5bf6b2aa1098 100755 --- a/tools/testing/selftests/net/forwarding/bridge_locked_port.sh +++ b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh @@ -9,6 +9,7 @@ ALL_TESTS=" locked_port_mab_roam locked_port_mab_config locked_port_mab_flush + locked_port_dyn_fdb " NUM_NETIFS=4 ``` Which tells me that you didn't even try running it once. Now the test failed as I expected: # ./bridge_locked_port.sh...
2006 Mar 29
0
rake default(?)/test_unit magic
Hi list! I''m trying to add a rake task or a command line switch to the existing task to run Tk unit test runner instead of console one. Yet I couldn''t figure out where this magic is happening, i.e. where console runner is initialized and run? And yes, wouldn''t something like rake task "all_test" be more appropriate then default? -- Posted via
2023 Mar 30
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...ding/bridge_locked_port.sh b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh > index dbc7017fd45d..5bf6b2aa1098 100755 > --- a/tools/testing/selftests/net/forwarding/bridge_locked_port.sh > +++ b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh > @@ -9,6 +9,7 @@ ALL_TESTS=" > locked_port_mab_roam > locked_port_mab_config > locked_port_mab_flush > + locked_port_dyn_fdb > " > > NUM_NETIFS=4 > ``` > > Which tells me that you didn't even try running it once. Not true, it reveals that I forgot...
2007 Mar 22
1
WxSugar 0.1.14 is released
Hi I''m pleased to announce that a new version WxSugar is now available from http://rubyforge.org/frs/?group_id=35&release_id=10569 = CHANGES = * Can now just do "require ''wx_sugar''" to load all behaviours * Added ''find_window'' and ''descendants'' methods to Wx::Window * :name and :validator constructor arguments now work
2023 Mar 18
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...lftests/net/forwarding/bridge_locked_port.sh b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh index dc92d32464f6..dbc7017fd45d 100755 --- a/tools/testing/selftests/net/forwarding/bridge_locked_port.sh +++ b/tools/testing/selftests/net/forwarding/bridge_locked_port.sh @@ -14,6 +14,7 @@ ALL_TESTS=" NUM_NETIFS=4 CHECK_TC="no" source lib.sh +source tc_common.sh h1_create() { @@ -319,6 +320,41 @@ locked_port_mab_flush() log_test "Locked port MAB FDB flush" } +# Test of dynamic FDB entries. +locked_port_dyn_fdb() +{ + local mac=00:01:02:03:04:05 + local agei...
2023 Mar 26
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
On Mon, Mar 20, 2023 at 10:44, Ido Schimmel <idosch at nvidia.com> wrote: >> + $MZ $swp1 -c 1 -p 128 -t udp "sp=54321,dp=12345" \ >> + -a $mac -b `mac_get $h2` -A 192.0.2.1 -B 192.0.2.2 -q >> + tc_check_packets "dev $swp2 egress" 1 1 >> + check_fail $? "Dynamic FDB entry did not age out" > > Shouldn't this be check_err()? After
2007 Apr 02
2
Re: Test driving WxRuby2 apps
...ype ''fred'', :first_name choosable(:male).choose selection(:title).choose ''Mr'' assert enabled?(:save) click :save end end For more examples look at the ''test'' directory under the gem install. Note that if you run all_tests.rb, some of the tests will currently fail (depending on platform), these tests expose some of the problems highlighted in ''KNOWN ISSUES''. p. This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive...
2023 May 09
5
[Bridge] [RFC PATCH net-next 0/5] Add layer 2 miss indication and filtering
tl;dr ===== This patchset adds a single bit to the skb to indicate that a packet encountered a layer 2 miss in the bridge and extends flower to match on this metadata. This is required for non-DF (Designated Forwarder) filtering in EVPN multi-homing which prevents decapsulated BUM packets from being forwarded multiple times to the same multi-homed host. Background ========== In a typical EVPN
2023 May 18
5
[Bridge] [PATCH net-next 0/5] Add layer 2 miss indication and filtering
tl;dr ===== This patchset adds a single bit to the skb to indicate that a packet encountered a layer 2 miss in the bridge and extends flower to match on this metadata. This is required for non-DF (Designated Forwarder) filtering in EVPN multi-homing which prevents decapsulated BUM packets from being forwarded multiple times to the same multi-homed host. Background ========== In a typical EVPN