Merge pull request #2124 from matt335672/fedora_check

Fix problems with check 0.15.2 (F36)
This commit is contained in:
matt335672 2022-01-31 09:34:52 +00:00 committed by GitHub
commit 7b1316fd1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 5 deletions

View File

@ -4,9 +4,10 @@
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include "test_common.h"
#include "os_calls.h" #include "os_calls.h"
#include "test_common.h"
#ifndef TOP_SRCDIR #ifndef TOP_SRCDIR
#define TOP_SRCDIR "." #define TOP_SRCDIR "."
#endif #endif

View File

@ -3,9 +3,10 @@
#include "config_ac.h" #include "config_ac.h"
#endif #endif
#include "test_common.h"
#include "string_calls.h" #include "string_calls.h"
#include "test_common.h"
#define RESULT_LEN 1024 #define RESULT_LEN 1024
START_TEST(test_strnjoin__when_src_is_null__returns_empty_string) START_TEST(test_strnjoin__when_src_is_null__returns_empty_string)

View File

@ -2,10 +2,11 @@
#include "config_ac.h" #include "config_ac.h"
#endif #endif
#include "test_libxrdp.h"
#include "libxrdp.h" #include "libxrdp.h"
#include "os_calls.h" #include "os_calls.h"
#include "test_libxrdp.h"
struct xrdp_sec *sec_layer; struct xrdp_sec *sec_layer;
struct xrdp_rdp *rdp_layer; struct xrdp_rdp *rdp_layer;
struct xrdp_session *session; struct xrdp_session *session;

View File

@ -2,9 +2,10 @@
#include "config_ac.h" #include "config_ac.h"
#endif #endif
#include "test_xrdp.h"
#include "xrdp.h" #include "xrdp.h"
#include "test_xrdp.h"
/* Where the image files are located */ /* Where the image files are located */
#ifndef IMAGEDIR #ifndef IMAGEDIR
#define IMAGEDIR "." #define IMAGEDIR "."

View File

@ -33,9 +33,10 @@
#include "log.h" #include "log.h"
#include "os_calls.h" #include "os_calls.h"
#include "test_xrdp.h"
#include <stdlib.h> #include <stdlib.h>
#include "test_xrdp.h"
int main (void) int main (void)
{ {
int number_failed; int number_failed;