lokinet/vendor/libtuntap-master/regress/README

51 lines
2.5 KiB
Plaintext
Raw Normal View History

2018-06-23 12:18:31 +00:00
Regression Testing
==================
test01: Create a tapN device
test02: Create a tunN device
test03: Create a tap0 device
test04: Create a tun0 device
test05: Create a tapN device and set its mtu to 1400
test06: Create a tunN device and set its mtu to 1400
test07: Create a tapN device and set its MAC address to 54:1a:13:ef:b6:b5
test08: Create a tunN device and set its MAC address to 54:1a:13:ef:b6:b5
test09: Create a tapN device and set its MAC address to random
test10: Create a tunN device and set its MAC address to random
test11: Create a tapN device and turn it up
test12: Create a tunN device and turn it up
test13: Create a tapN device, turn it up and set its IPv4 address
test14: Create a tunN device, turn it up and set its IPv4 address
#test15: Create a tapN device, turn it up and set its IPv6 address
#test16: Create a tunN device, turn it up and set its IPv6 address
test17: Create a tapN device, set its IPv4 address and turn it up
test18: Create a tunN device, set its IPv4 address and turn it up
#test19: Create a tapN device, set its IPv6 address and turn it up
#test20: Create a tunN device, set its IPv6 address and turn it up
test21: Create a tapN device and set its IP address to NULL
test22: Create a tunN device and set its IP address to NULL
test23: Create a tapN device and set its netmask to a negative value
test24: Create a tunN device and set its netmask to a negative value
test25: Create a tapN device and set its IP address to a dumb value
test26: Create a tunN device and set its IP address to a dumb value
#test27: Create a tapN device and set its netmask to a dumb value
#test28: Create a tunN device and set its netmask to a dumb value
test29: Double create a tapN device
test30: Create a device with a wrong type
test31: Create a device with a wrong number
test32: Create a tapN device and check its pre-existing MAC address
test33: Create a tap0 persistent device and destroy it
test34: Create a tun0 persistent device and destroy it
test35: Create a tap0 persistent device and release it
test36: Create a tun1 persistent device and release it
test37: Set a log callback and generate an error
test38: Set a log callback and generate all possible error levels
test39: Enable debug for a tap device
test40: Enable debug for a tun device
test41: Set a new name to an interface
test42: Set a NULL name to an interface
test43: Set a name of more than IF_NAMESIZE to an interface
test44: Set a description to an interface
test45: Set a NULL description to an interface
test46: Set a description to an interface and check it