[Spice-devel] [PATCH spice-server] tests: Remove test-just-sockets-no-ssl
Frediano Ziglio
fziglio at redhat.com
Tue Jan 16 14:42:16 UTC 2018
This call sequence is included in test-display-base used in different
tests, no reason to have this test.
Also this test is not actually used for automated tests.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
server/tests/.gitignore | 1 -
server/tests/Makefile.am | 1 -
server/tests/test-just-sockets-no-ssl.c | 35 ---------------------------------
3 files changed, 37 deletions(-)
delete mode 100644 server/tests/test-just-sockets-no-ssl.c
diff --git a/server/tests/.gitignore b/server/tests/.gitignore
index 2890cfa5..ccd5fe10 100644
--- a/server/tests/.gitignore
+++ b/server/tests/.gitignore
@@ -13,7 +13,6 @@ test-display-streaming
test-display-width-stride
test-empty-success
test-fail-on-null-core-interface
-test-just-sockets-no-ssl
test-loop
test-options
test-playback
diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am
index 43b58adb..2ff06d7a 100644
--- a/server/tests/Makefile.am
+++ b/server/tests/Makefile.am
@@ -64,7 +64,6 @@ check_PROGRAMS = \
noinst_PROGRAMS = \
test-display-no-ssl \
test-display-streaming \
- test-just-sockets-no-ssl \
test-playback \
test-display-resolution-changes \
test-two-servers \
diff --git a/server/tests/test-just-sockets-no-ssl.c b/server/tests/test-just-sockets-no-ssl.c
deleted file mode 100644
index 98def5a3..00000000
--- a/server/tests/test-just-sockets-no-ssl.c
+++ /dev/null
@@ -1,35 +0,0 @@
-/* -*- Mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-/*
- Copyright (C) 2009-2015 Red Hat, Inc.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-*/
-#include <config.h>
-#include <sys/select.h>
-#include <spice.h>
-#include "basic-event-loop.h"
-
-int main(void)
-{
- SpiceServer *server = spice_server_new();
- SpiceCoreInterface *core = basic_event_loop_init();
-
- spice_server_set_port(server, 5912);
- spice_server_set_noauth(server);
- spice_server_init(server, core);
-
- basic_event_loop_mainloop();
-
- return 0;
-}
--
2.14.3
More information about the Spice-devel
mailing list