The NetBSD Project

CVS log for src/tests/net/ndp/t_ra.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / net / ndp

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 12 11:04:45 2020 UTC (3 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.33: +0 -866 lines
Diff to previous 1.33 (colored)

Remove in-kernel handling of Router Advertisements

This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:32 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.32: +10 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.32.6.1 / (download) - annotate - [select for diffs], Wed Oct 23 19:33:07 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.32: +10 -1 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #368):

	sys/netinet6/in6_ifattach.h: revision 1.14
	sys/netinet6/ip6_input.c: revision 1.212
	sys/netinet6/ip6_input.c: revision 1.213
	sys/netinet6/ip6_input.c: revision 1.214
	sys/netinet6/in6_var.h: revision 1.101
	sys/netinet6/in6_var.h: revision 1.102
	sys/netinet6/in6_ifattach.c: revision 1.116
	sys/netinet6/in6_ifattach.c: revision 1.117
	tests/net/ndp/t_ra.sh: revision 1.33

Reorganize in6_tmpaddrtimer stuffs
- Move the related functions to where in6_tmpaddrtimer_ch exists
- Hide global variable in6_tmpaddrtimer_ch
- Rename ip6_init2 to in6_tmpaddrtimer_init
- Reduce callers of callout_reset
- Use callout_schedule

Validate ip6_temp_preferred_lifetime (net.inet6.ip6.temppltime) on a change
ip6_temp_preferred_lifetime is used to calculate an interval period to
regenerate temporary addresse by
  TEMP_PREFERRED_LIFETIME - REGEN_ADVANCE - DESYNC_FACTOR
as per RFC 3041 3.5.  So it must be greater than (REGEN_ADVANCE +
DESYNC_FACTOR), otherwise it will be negative and go wrong, for example
KASSERT(to_ticks >= 0) in callout_schedule_locked fails.

tests: add tests for the validateion of net.inet6.ip6.temppltime

in6: reset the temporary address timer on a change of the interval period

Revision 1.33 / (download) - annotate - [select for diffs], Wed Oct 16 07:42:22 2019 UTC (4 years, 5 months ago) by ozaki-r
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.32: +10 -1 lines
Diff to previous 1.32 (colored)

tests: add tests for the validateion of net.inet6.ip6.temppltime

Revision 1.32 / (download) - annotate - [select for diffs], Sat Nov 25 07:58:47 2017 UTC (6 years, 4 months ago) by kre
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base
Branch point for: phil-wifi, netbsd-9
Changes since 1.31: +167 -152 lines
Diff to previous 1.31 (colored)

Make this test somewhat deterministic - far fewer races, and most
of what are left are "race for the bus" type - if we lose, we just
wait for the next one ... slower but still reliable.

There are two exceptions ... when starting more than one rtadvd
(on different routers) we expect to receive an RA from each, but
all that we can check is that we received the (at least) right number
of RAs.  It is possible (though unlikely) that one router sent two
before another sent any, in which case we will not have the data we
expect, and a sub-test will fail.

Second, there is no way to know for sure that we have waited long
enough when we're waiting for data to expire - in systems with
correctly working clocks that actually measure time, this should not
be an issue, if data is due to expire in < 5 seconds, and we wait
5 seconds, and the data is still there, then that indicates a
failure, which should be detected.   Unfortunately with QEMU testing
time just isn't that reliable.  But fortunately, it is generally the
sleep which takes longer, while other timers run correctly, which is
the way that makes us happy...

While here lots of cleanups - everything from white space and
line wrapping, to removing superfluous quotes and adding some
(but probably not enough) that are not (though given the data is
all known here, lack of quotes will rarely hurt.)

Also take note of the fact that current rtadvd *cannot* delete its
pidfile, so waiting for that file to be removed is doomed to failure.
Do things in a way that works, rather than simply resorting to assassination.

Because we do a lot less "sleep and hope it is long enough" and more
"wait until it is observed to happen" the tests generally run in less
elapsed time than before (20% less has been observed.)  But because we
"wait until it is observed to happen" rather than just "sleep and hope
it is long enough" sometimes things take longer (and when that happens,
we no longer fail).  Up to 7% slower (overall) has been observed.
(Observations on an amd64 DomU, no idea yet as to what QEMU might observe.)

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Tue Nov 21 10:54:19 2017 UTC (6 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.27.2.1: +60 -74 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #358):
	usr.sbin/rtadvd/rtadvd.c: revision 1.54-1.58
	usr.sbin/rtadvd/config.c: revision 1.37
	usr.sbin/rtadvd/if.c: revision 1.25
	usr.sbin/rtadvd/dump.c: revision 1.15
	usr.sbin/rtadvd/rrenum.c: revision 1.20
	usr.sbin/rtadvd/logit.h: revision 1.1
	usr.sbin/rtadvd/rtadvd.8: revision 1.26
	tests/net/ndp/t_ra.sh: revision 1.30
	usr.sbin/rtadvd/timer.c: revision 1.14
	tests/net/ndp/t_ra.sh: revision 1.31
	usr.sbin/rtadvd/advcap.c: revision 1.17

KNF, fix time printing formats.

Don't start another copy of rtadvd if one is running.

PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast
group fails. This happens with empty vlan interfaces
- make syscalls checks against -1
- fix errors to print %s: instead of <%s>
XXX: if_vlan is the only pseudo interface in net/ that returns such an
error..

Kill rtadvd surely even if the tests fail in the middle
It may help PR bin/52701.

Change the meaning of the D flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).

Mark expandm as preserving format strings.

Let rtadvd not use syslog for logging
Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.
Address PR bin/52701

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 7 02:19:23 2017 UTC (6 years, 5 months ago) by ozaki-r
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Let rtadvd not use syslog for logging

Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.

Address PR bin/52701

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 6 10:51:40 2017 UTC (6 years, 5 months ago) by ozaki-r
Branch: MAIN
Changes since 1.29: +58 -73 lines
Diff to previous 1.29 (colored)

Kill rtadvd surely even if the tests fail in the middle

It may help PR bin/52701.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Jul 7 13:57:26 2017 UTC (6 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.27: +6 -8 lines
Diff to previous 1.27 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #107):
	usr.sbin/arp/arp.c: revision 1.56
	sys/net/rtsock.c: revision 1.218
	sys/net/if_llatbl.c: revision 1.20
	usr.sbin/arp/arp.c: revision 1.57
	sys/net/rtsock.c: revision 1.219
	sys/net/if_llatbl.c: revision 1.21
	usr.sbin/arp/arp.c: revision 1.58
	tests/net/net_common.sh: revision 1.19
	sys/netinet6/nd6.h: revision 1.84
	sys/netinet6/nd6.h: revision 1.85
	tests/net/arp/t_arp.sh: revision 1.23
	sys/netinet6/in6.c: revision 1.246
	tests/net/arp/t_arp.sh: revision 1.24
	sys/netinet6/in6.c: revision 1.247
	tests/net/arp/t_arp.sh: revision 1.25
	sys/netinet6/in6.c: revision 1.248
	tests/net/arp/t_arp.sh: revision 1.26
	usr.sbin/ndp/ndp.c: revision 1.49
	tests/net/arp/t_arp.sh: revision 1.27
	tests/net/ndp/t_ndp.sh: revision 1.20
	tests/net/arp/t_arp.sh: revision 1.28
	tests/net/ndp/t_ndp.sh: revision 1.21
	tests/net/arp/t_arp.sh: revision 1.29
	tests/net/ndp/t_ndp.sh: revision 1.22
	tests/net/ndp/t_ndp.sh: revision 1.23
	tests/net/route/t_flags6.sh: revision 1.13
	tests/net/ndp/t_ndp.sh: revision 1.24
	tests/net/route/t_flags6.sh: revision 1.14
	tests/net/ndp/t_ndp.sh: revision 1.25
	tests/net/route/t_flags6.sh: revision 1.15
	tests/net/ndp/t_ndp.sh: revision 1.26
	sbin/route/rtutil.c: revision 1.9
	tests/net/ndp/t_ndp.sh: revision 1.27
	tests/net/ndp/t_ndp.sh: revision 1.28
	tests/net/net/t_ipv6address.sh: revision 1.14
	tests/net/ndp/t_ra.sh: revision 1.28
	tests/net/ndp/t_ndp.sh: revision 1.29
	sys/net/route.h: revision 1.113
	tests/net/ndp/t_ra.sh: revision 1.29
	sys/net/rtsock.c: revision 1.220
	sys/net/rtsock.c: revision 1.221
	sys/net/rtsock.c: revision 1.222
	sys/net/rtsock.c: revision 1.223
	tests/net/route/t_route.sh: revision 1.13
	sys/net/rtsock.c: revision 1.224
	sys/net/route.c: revision 1.196
	sys/net/if_llatbl.c: revision 1.19
	sys/net/route.c: revision 1.197
	sbin/route/route.c: revision 1.156
	tests/net/route/t_flags.sh: revision 1.16
	tests/net/route/t_flags.sh: revision 1.17
	usr.sbin/ndp/ndp.c: revision 1.50
	tests/net/route/t_flags.sh: revision 1.18
	sys/netinet/in.c: revision 1.204
	tests/net/route/t_flags.sh: revision 1.19
	sys/netinet/in.c: revision 1.205
	tests/net/arp/t_arp.sh: revision 1.30
	tests/net/arp/t_arp.sh: revision 1.31
	sys/net/if_llatbl.h: revision 1.11
	tests/net/arp/t_arp.sh: revision 1.32
	sys/net/if_llatbl.h: revision 1.12
	tests/net/arp/t_arp.sh: revision 1.33
	sys/netinet6/nd6.c: revision 1.233
	sys/netinet6/nd6.c: revision 1.234
	sys/netinet/if_arp.c: revision 1.251
	sys/netinet6/nd6.c: revision 1.235
	sys/netinet/if_arp.c: revision 1.252
	sbin/route/route.8: revision 1.57
	sys/net/rtsock.c: revision 1.214
	sys/net/rtsock.c: revision 1.215
	sys/net/rtsock.c: revision 1.216
	sys/net/rtsock.c: revision 1.217
whitespace police
Simplify
We can assume that rt_ifp is always non-NULL.
Sending a routing message (RTM_ADD) on adding an llentry
A message used to be sent on adding a cloned route. Restore the
behavior for backward compatibility.
Requested by ryo@
Drop RTF_CONNECTED from a result of RTM_GET for ARP/NDP entries
ARP/NDP entries aren't connected routes.
Reported by ryo@
Support -c <count> option for route monitor
route command exits if it receives <count> routing messages where
<count> is a value specified by -c.
The option is useful to get only particular message(s) in a test script.
Test routing messages emitted on operations of ARP/NDP entries
Do netstat -a for an appropriate protocol
Add missing declarations for cleanup
Set net.inet.arp.keep only if it's required
Don't create a permanent L2 cache entry on adding an address to an interface
It was created to copy FreeBSD, however actually the cache isn't
necessary. Remove it to simplify the code and reduce the cost to
maintain it (e.g., keep a consistency with a corresponding local
route).
Fix typo
Fix in_lltable_match_prefix
The function has not been used but will be used soon.
Remove unused function (nd6_rem_ifa_lle)
Allow in6_lltable_free_entry to be called without holding the afdata lock of ifp as well as in_lltable_free_entry
This behavior is a bit odd and should be fixed in the future...
Purge ARP/NDP entries on an interface when the interface is down
Fix PR kern/51179
Purge all related L2 caches on removing a route
The change addresses situations similar to PR 51179.
Purge L2 caches on changing an interface of a route
The change addresses situations similar to PR 51179.
Test implicit removals of ARP/NDP entries
One test case reproudces PR 51179.
Fix build of kernels without both INET and INET6
Tweak lltable_sysctl_dumparp
- Rename lltable_sysctl_dumparp to lltable_sysctl_dump
  because it's not only for ARP
- Enable it not only for INET but also for INET6
Fix usage of routing messages on arp -d and ndp -d
It didn't work as we expected; we should set RTA_GATEWAY not
RTA_IFP on RTM_GET to return an if_index and the kernel should
use it on RTM_DELETE.
Improve backward compatibility of (fake) routing messages on adding an ARP/NDP entry
A message originally included only DST and GATEWAY. Restore it.
Fix ifdef; care about a case w/ INET6 and w/o INET
Drop RTF_UP from a routing message of a deleted ARP/NDP entry
Check existence of ARP/NDP entries
Checking ARP/NDP entries is valid rather than checking routes.
Fix wrong comment
Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes
They don't have llinfo anymore. And also the change fixes unexpected
behavior of ARP proxy.
Restore ARP/NDP entries to route show and netstat -r
Requested by dyoung@ some time ago
Enable to remove multiple ARP/NDP entries for one destination
The kernel can have multiple ARP/NDP entries which have an indentical
destination on different interfaces. This is normal and can be
reproduce easily by ping -I or ping6 -S. We should be able to remove
such entries.
arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries
and remove matched entries. So we can remove multiple entries
described above. This fetch all and selective removal behavior is
the same as arp <ip> and ndp <ip>; they also do fetch all entries
and show only matched entries.
Related to PR 51179
Check if ARP/NDP entries are purged when a related route is deleted

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jun 22 09:56:48 2017 UTC (6 years, 9 months ago) by ozaki-r
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.28: +1 -3 lines
Diff to previous 1.28 (colored)

Purge all related L2 caches on removing a route

The change addresses situations similar to PR 51179.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 21 09:05:31 2017 UTC (6 years, 9 months ago) by ozaki-r
Branch: MAIN
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

Don't create a permanent L2 cache entry on adding an address to an interface

It was created to copy FreeBSD, however actually the cache isn't
necessary. Remove it to simplify the code and reduce the cost to
maintain it (e.g., keep a consistency with a corresponding local
route).

Revision 1.27 / (download) - annotate - [select for diffs], Fri May 26 01:14:38 2017 UTC (6 years, 10 months ago) by ozaki-r
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Change the default value of DEBUG of stable tests to false

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:12 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.24: +159 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:01 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2.2.2: +256 -5 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 3 07:34:04 2017 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, bouyer-socketcan-base1
Changes since 1.25: +6 -6 lines
Diff to previous 1.25 (colored)

Provide a more robust regexp for time formats of 1day-ish

Revision 1.25 / (download) - annotate - [select for diffs], Wed Feb 22 03:03:37 2017 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
Changes since 1.24: +156 -1 lines
Diff to previous 1.24 (colored)

Add tests for expiration of default router and prefix entries

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 13 08:11:01 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.23: +1 -2 lines
Diff to previous 1.23 (colored)

Remove a check added wrongly

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 13 06:30:33 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.22: +40 -2 lines
Diff to previous 1.22 (colored)

Add tests for net.inet6.ip6.prefer_tempaddr

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 13 06:30:09 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.21: +7 -30 lines
Diff to previous 1.21 (colored)

Remove extra checks and cleanup

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 11 07:22:43 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.20: +5 -3 lines
Diff to previous 1.20 (colored)

Cope with tentative state

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jan 11 03:15:44 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.19: +80 -1 lines
Diff to previous 1.19 (colored)

Add a test case for IPv6 temporary address

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 11 03:15:11 2017 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

Check autoconf flag

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:56 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2.2.1: +480 -39 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 26 01:26:25 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix typo

Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 21 07:02:16 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.16: +17 -1 lines
Diff to previous 1.16 (colored)

Restore multiple_routers_single_prefix_cleanup removed wrongly

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 20 10:12:24 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.15: +14 -3 lines
Diff to previous 1.15 (colored)

Reduce unnecessary wait

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 19 03:07:05 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.14: +76 -5 lines
Diff to previous 1.14 (colored)

Add a test case for exceeding the number of maximum prefixes

The test case pinpoints purge_detached.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 19 02:27:02 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.13: +77 -1 lines
Diff to previous 1.13 (colored)

Add tests for multiple routers with a single prefix

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 19 01:37:30 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Fix the description of a test

Revision 1.12 / (download) - annotate - [select for diffs], Fri Dec 16 09:11:18 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.11: +83 -9 lines
Diff to previous 1.11 (colored)

Add tests for multiple routers

Revision 1.11 / (download) - annotate - [select for diffs], Fri Dec 16 09:10:37 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.10: +54 -83 lines
Diff to previous 1.10 (colored)

Unify common routines

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 16 09:10:08 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9 (colored)

Avoid using /var/run/rump.rtadvd.pid

Revision 1.9 / (download) - annotate - [select for diffs], Fri Dec 16 03:49:45 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.8: +70 -1 lines
Diff to previous 1.8 (colored)

Add a test case that deletes auto-configured addresses

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 16 03:14:23 2016 UTC (7 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.7: +15 -22 lines
Diff to previous 1.7 (colored)

Improve stability of the tests

- Do ifconfig -w 10 after ifconfig up
- Accept /1d0h0m..s/ in addition to /23h59m..s/ for expiration time
- Prevent new RA messages from coming after flushing entries

The changes should fix flapping of test results on babylon5.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 14 07:37:26 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.6: +164 -1 lines
Diff to previous 1.6 (colored)

Add tests for flushing prefix and default router entries

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 25 08:51:17 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.5: +13 -16 lines
Diff to previous 1.5 (colored)

Share rump_server start/stop and interface creation/destruction functions

The common functions store socks of rump_servers, interfaces of rump_servers
and buses that intefaces connect and allow to destroy them with common
functions without specifying which socks, interfaces and buses we should
destroy.

This change reduces lots of similar setup/cleanup codes.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 7 05:25:37 2016 UTC (7 years, 5 months ago) by ozaki-r
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Accept DEBUG environment variable

By doing so, we can easily turn DEBUG on/off without modifying
the ATF scripts.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:24 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Thu Oct 20 09:51:15 2016 UTC (7 years, 5 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.3: +6 -6 lines
Diff to previous 1.3 (colored)

Make test names self-descriptive

Revision 1.3 / (download) - annotate - [select for diffs], Wed Aug 10 23:07:57 2016 UTC (7 years, 8 months ago) by kre
Branch: MAIN
CVS Tags: localcount-20160914
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)


+ -lrumpdev

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 12 05:01:28 2015 UTC (8 years, 5 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.1: +27 -1 lines
Diff to previous 1.1 (colored)

Fix up the header

Remove unnecessary shebang and add missing keyword expansion,
copyright and license.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Nov 11 07:52:57 2015 UTC (8 years, 5 months ago) by ozaki-r
Branch: MAIN

Add tests for RA

From s-yamaguchi@IIJ (with some tweaks by me)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>