1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
emacs/test/src
Robert Pluim d8e8e1d5ed Fix network test failure when using VPN client
When using certain VPN clients, the interface info returned by
'getifaddrs' does not have the address family filled in for the
ifa_netmask component (this is allowed by the standard, since
the value is not specified).  The resulting address info causes
network tests suite failures.  Fix by copying the address family
from the returned interface address.

* src/process.c (network_interface_list): Copy the interface address
sa_family to the netmask address.
(Fnetwork_lookup_address_info): Fix test for non-IP addresses to
properly account for IPv6.

* test/src/process-tests.el (process-tests-check-bug-74907): New
test, checks that 'network-interface-list' output is as
expected.

(Bug#74907)
2024-12-19 15:45:00 +01:00
..
comp-resources Fix comp branch-optim pass (bug#73270) 2024-10-15 22:13:08 +02:00
emacs-module-resources Silence some macOS build warnings 2024-05-12 15:04:47 +02:00
lread-resources
regex-resources
syntax-resources
alloc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
buffer-tests.el Standardize possessive apostrophe usage in manuals, docs, and comments 2024-07-25 03:35:18 +02:00
callint-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
callproc-tests.el Standardize possessive apostrophe usage in manuals, docs, and comments 2024-07-25 03:35:18 +02:00
casefiddle-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
character-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
charset-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
chartab-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cmds-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
coding-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
comp-tests.el Fix comp branch-optim pass (bug#73270) 2024-10-15 22:13:08 +02:00
data-tests.el Prohibit unbinding of built-in variables 2024-07-22 09:56:08 +08:00
decompress-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
doc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
editfns-tests.el ; Fix whitespace in editfns-tests.el 2024-04-11 08:55:12 +03:00
emacs-module-tests.el Fix recent test regressions 2024-03-22 18:44:54 -04:00
emacs-tests.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
eval-tests.el Fix missing type checks before specbind 2024-08-03 19:32:23 +02:00
fileio-tests.el Merge from origin/emacs-29 2024-05-25 08:00:48 -04:00
filelock-tests.el Standardize possessive apostrophe usage in manuals, docs, and comments 2024-07-25 03:35:18 +02:00
floatfns-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
fns-tests.el ; Strengthen value< tests slightly 2024-07-04 16:01:55 +02:00
font-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
image-tests.el Fix two tests for --without-all build 2024-06-27 15:32:51 +02:00
indent-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
inotify-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
json-tests.el Make json-serialize always return a unibyte string (bug#70007) 2024-09-08 20:02:34 +02:00
keyboard-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
keymap-tests.el Add multi/unibyte string tests for key-description 2024-05-16 14:29:10 +02:00
lcms-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lread-tests.el `read': give fuller error message for errors following "#". 2024-05-06 20:14:57 +00:00
marker-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
minibuf-tests.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
print-tests.el * src/print.c (print_object): Don't print empty hash-table data 2024-01-13 20:50:37 +01:00
process-tests.el Fix network test failure when using VPN client 2024-12-19 15:45:00 +01:00
regex-emacs-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
search-tests.el (test-replace-match-modification-hooks): Delete test 2024-04-09 11:01:36 -04:00
sqlite-tests.el * test/src/sqlite-tests.el (sqlite-execute-batch): Declare to wave warning. 2024-07-10 10:24:46 +02:00
syntax-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
textprop-tests.el Fix deletion of text holding `inhibit-read-only' properties 2024-04-30 18:28:05 +08:00
thread-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timefns-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
treesit-tests.el Mark if-let and when-let obsolete 2024-10-24 16:50:07 +08:00
undo-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xdisp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xfaces-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xml-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00