summaryrefslogtreecommitdiffstats
path: root/regress/unittests
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2021-04-03 09:21:08 +0200
committerDamien Miller <djm@mindrot.org>2021-04-03 09:21:08 +0200
commitf3ca8af87a4c32ada660da12ae95cf03d190c083 (patch)
treea29dbc240af3dc5c77119c9dd6691e2d8963a3b6 /regress/unittests
parentupstream: typos in comments; GHPR#180 from Vill (diff)
downloadopenssh-f3ca8af87a4c32ada660da12ae95cf03d190c083.tar.xz
openssh-f3ca8af87a4c32ada660da12ae95cf03d190c083.zip
enable authopt and misc unit tests
Neither were wired into the build, both required some build adaptations for -portable
Diffstat (limited to 'regress/unittests')
-rw-r--r--regress/unittests/authopt/tests.c4
-rw-r--r--regress/unittests/misc/test_argv.c4
-rw-r--r--regress/unittests/misc/test_convtime.c4
-rw-r--r--regress/unittests/misc/test_expand.c4
-rw-r--r--regress/unittests/misc/test_parse.c4
-rw-r--r--regress/unittests/misc/tests.c4
6 files changed, 18 insertions, 6 deletions
diff --git a/regress/unittests/authopt/tests.c b/regress/unittests/authopt/tests.c
index 0e8aacb91..8c51b3802 100644
--- a/regress/unittests/authopt/tests.c
+++ b/regress/unittests/authopt/tests.c
@@ -6,6 +6,8 @@
* Placed in the public domain
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -13,7 +15,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "sshkey.h"
#include "authfile.h"
diff --git a/regress/unittests/misc/test_argv.c b/regress/unittests/misc/test_argv.c
index 0ce86694d..7a28f64e5 100644
--- a/regress/unittests/misc/test_argv.c
+++ b/regress/unittests/misc/test_argv.c
@@ -5,6 +5,8 @@
* Placed in the public domain.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "log.h"
#include "misc.h"
diff --git a/regress/unittests/misc/test_convtime.c b/regress/unittests/misc/test_convtime.c
index 8da05a261..5be3ee43a 100644
--- a/regress/unittests/misc/test_convtime.c
+++ b/regress/unittests/misc/test_convtime.c
@@ -5,6 +5,8 @@
* Placed in the public domain.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "log.h"
#include "misc.h"
diff --git a/regress/unittests/misc/test_expand.c b/regress/unittests/misc/test_expand.c
index 2a5e1bf1a..3cfe0e712 100644
--- a/regress/unittests/misc/test_expand.c
+++ b/regress/unittests/misc/test_expand.c
@@ -5,6 +5,8 @@
* Placed in the public domain.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "log.h"
#include "misc.h"
diff --git a/regress/unittests/misc/test_parse.c b/regress/unittests/misc/test_parse.c
index 6fa4558e2..dd99068d0 100644
--- a/regress/unittests/misc/test_parse.c
+++ b/regress/unittests/misc/test_parse.c
@@ -5,6 +5,8 @@
* Placed in the public domain.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "log.h"
#include "misc.h"
diff --git a/regress/unittests/misc/tests.c b/regress/unittests/misc/tests.c
index fe9544a93..75013f481 100644
--- a/regress/unittests/misc/tests.c
+++ b/regress/unittests/misc/tests.c
@@ -5,6 +5,8 @@
* Placed in the public domain.
*/
+#include "includes.h"
+
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
@@ -12,7 +14,7 @@
#include <stdlib.h>
#include <string.h>
-#include "test_helper.h"
+#include "../test_helper/test_helper.h"
#include "log.h"
#include "misc.h"