Skip to content

Unit test illustrating potential issue with Windows Subsystem for Linux

License

Notifications You must be signed in to change notification settings

jbohren-hbr/ifaddrs_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ifaddrs_test

Build:

mkdir build
cd build && cmake .. && make

Run test:

./test.bash

Test returns 0 if ifconfig matches the output of getifaddrs and 1 if not, and prints the diff to stderr.

Running ./build/print_ifaddrs will print the interface names and their associated IP addresses.

About

Unit test illustrating potential issue with Windows Subsystem for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published