Since we are sleeping for an indefinite period of time waiting
for the default route to appear, the expire times may be gone
past 1+ seconds, causing the Expire column to show <1800 or <600.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
LGTM, please see my comment.
| tests/sys/netinet6/ndp.sh | ||
|---|---|---|
| 838 | could you please add another -lt 600 to make sure it doesn't mix with expiration time of ${route2}? | |
| tests/sys/netinet6/ndp.sh | ||
|---|---|---|
| 838 | What do you mean by "mix with expiration time"? They are two different routes with two different row entries in the output of netstat -rn6. | |
| tests/sys/netinet6/ndp.sh | ||
|---|---|---|
| 838 |
Yes, let me rephrase that. The code is good as is. | |
Hi,
Thank you so much.
I'm getting some error during debug, but it pass the test:
Executing command [ jexec v6t-ndp_routeinfo_option ndp -r ] v6t-ndp_routeinfo_option: removed Fail: incorrect exit status: 1, expected: 0 stdout: stderr: test: ^3fff:1000::/32[[:space:]]+fe80::1cbd:fdff:fed8:2793: bad number Fail: incorrect exit status: 1, expected: 0 stdout: stderr: test: ^3fff:2000::/48[[:space:]]+fe80::1cbd:fdff:fed8:2793: bad number sys/netinet6/ndp:ndp_routeinfo_option -> passed
Please go with your initial version.
I will add expiration checks for that later.
Thank you again.