]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
ntp signd testing
authorLokesh Walase <lokeshw24@ntp.org>
Fri, 24 Jul 2015 06:31:24 +0000 (12:01 +0530)
committerLokesh Walase <lokeshw24@ntp.org>
Fri, 24 Jul 2015 06:31:24 +0000 (12:01 +0530)
bk: 55b1dbbciS9hp_Kf4DZOYAFkuaZ6Eg

tests/ntpd/ntp_signd.c [new file with mode: 0644]

diff --git a/tests/ntpd/ntp_signd.c b/tests/ntpd/ntp_signd.c
new file mode 100644 (file)
index 0000000..622ca93
--- /dev/null
@@ -0,0 +1,24 @@
+#include "config.h"
+
+#include "ntp.h"
+#include "ntp_calendar.h"
+#include "ntp_stdlib.h"
+
+#include "unity.h"
+
+#include "test-libntp.h"
+
+
+void 
+test_ux_socket_connect(void){
+       TEST_ASSERT_EQUAL(-1, ux_socket_connect(NULL));
+
+
+       //write_all()
+       char *socketName = "Random_Socket_Name";
+       int length = strlen(socketName);
+
+}
+
+void
+test_write_all(void)