2015-11-02 15:08:49 -08:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <limits.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <string.h>
|
2015-11-07 10:09:12 -08:00
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <fcntl.h>
|
2020-05-22 15:57:52 -07:00
|
|
|
#include <assert.h>
|
|
|
|
|
2015-11-02 15:08:49 -08:00
|
|
|
#include "private.h"
|
|
|
|
#include <Elementary.h>
|
2020-05-22 15:57:52 -07:00
|
|
|
#include "config.h"
|
2015-11-02 15:08:49 -08:00
|
|
|
#include "termpty.h"
|
2015-11-07 10:09:12 -08:00
|
|
|
#include "termptyops.h"
|
2019-02-04 12:24:00 -08:00
|
|
|
#include "termiointernals.h"
|
2020-05-22 15:57:52 -07:00
|
|
|
#include "tytest_common.h"
|
2015-11-07 10:09:12 -08:00
|
|
|
|
2015-11-02 15:08:49 -08:00
|
|
|
int _log_domain = -1;
|
2019-02-04 12:24:00 -08:00
|
|
|
|
|
|
|
int
|
2020-05-22 15:57:52 -07:00
|
|
|
main(int argc, char **argv)
|
2015-11-02 15:08:49 -08:00
|
|
|
{
|
|
|
|
eina_init();
|
|
|
|
|
2020-05-22 15:57:52 -07:00
|
|
|
_log_domain = eina_log_domain_register("tyfuzz", NULL);
|
2015-11-02 15:08:49 -08:00
|
|
|
|
2020-05-22 15:57:52 -07:00
|
|
|
tytest_common_init();
|
2015-11-02 15:08:49 -08:00
|
|
|
|
2017-05-29 14:12:19 -07:00
|
|
|
if (argc > 1)
|
|
|
|
{
|
2020-05-22 15:57:52 -07:00
|
|
|
tytest_common_set_fd(open(argv[1], O_RDONLY));
|
2017-05-29 14:12:19 -07:00
|
|
|
}
|
|
|
|
|
2020-05-22 15:57:52 -07:00
|
|
|
tytest_common_main_loop();
|
2019-02-11 13:44:16 -08:00
|
|
|
|
2020-05-22 15:57:52 -07:00
|
|
|
tytest_common_shutdown();
|
2015-11-02 15:08:49 -08:00
|
|
|
eina_shutdown();
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|