summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-12-23 03:15:10 -0800
committerMarcel Holtmann <marcel@holtmann.org>2009-12-23 03:15:10 -0800
commit23f390630f991d7ee67caa7dad36804e382a2122 (patch)
tree1ebaf73cd9fd75cb1ef7ca46726c5f1fb4de6dc7
parentd1d63b31db7a784816323be621d8419c8d49668f (diff)
downloadconnman-23f390630f991d7ee67caa7dad36804e382a2122.tar.gz
connman-23f390630f991d7ee67caa7dad36804e382a2122.tar.bz2
connman-23f390630f991d7ee67caa7dad36804e382a2122.zip
Add skeleton for supplicant test tool
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am6
-rw-r--r--tools/supplicant-test.c29
3 files changed, 34 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 29a53d0b..72926e60 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,7 @@ tools/wifi-scan
tools/addr-test
tools/tap-test
tools/polkit-test
+tools/supplicant-test
doc/*.bak
doc/*.stamp
doc/connman.*
diff --git a/Makefile.am b/Makefile.am
index 9f1712e4..e923ec88 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -113,11 +113,13 @@ client_cm_LDADD = @DBUS_LIBS@
endif
if TOOLS
-noinst_PROGRAMS += tools/wifi-scan tools/addr-test tools/tap-test \
- tools/polkit-test
+noinst_PROGRAMS += tools/wifi-scan tools/supplicant-test \
+ tools/addr-test tools/tap-test tools/polkit-test
tools_wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
+tools_supplicant_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+
tools_polkit_test_LDADD = @DBUS_LIBS@
endif
diff --git a/tools/supplicant-test.c b/tools/supplicant-test.c
new file mode 100644
index 00000000..6f110c17
--- /dev/null
+++ b/tools/supplicant-test.c
@@ -0,0 +1,29 @@
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+int main(int argc, char *argv[])
+{
+ return 0;
+}