This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/socket.h> | |
#include <sys/ioctl.h> | |
#include <sys/kern_event.h> | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <string.h> | |
#include <net/ethernet.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#used as part of a unit test | |
def _compare_directories(self, expected_dir, actual_dir, header=None): | |
"""Compares two directories and diffs any different files. | |
The file list of both directories must match and the files must match. | |
Sub directories are not considered as I don't need to in my case. | |
The diff will not show that a file was deleted from one side. It shows | |
that all the lines were removed. | |
NewerOlder