summaryrefslogtreecommitdiff
path: root/storage/ndb/src/common/transporter/priotest/prioSCI
diff options
context:
space:
mode:
Diffstat (limited to 'storage/ndb/src/common/transporter/priotest/prioSCI')
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioSCI/Makefile17
-rw-r--r--storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp29
2 files changed, 46 insertions, 0 deletions
diff --git a/storage/ndb/src/common/transporter/priotest/prioSCI/Makefile b/storage/ndb/src/common/transporter/priotest/prioSCI/Makefile
new file mode 100644
index 00000000000..7d403539bf3
--- /dev/null
+++ b/storage/ndb/src/common/transporter/priotest/prioSCI/Makefile
@@ -0,0 +1,17 @@
+include .defs.mk
+
+TYPE := ndbapi
+BIN_TARGET := prioSCI
+BIN_TARGET_LIBS := sisci
+BIN_TARGET_ARCHIVES := priotransportertest transporter portlib general
+
+CCFLAGS_LOC += -I..
+
+SOURCES = prioSCI.cpp
+
+include $(NDB_TOP)/Epilogue.mk
+
+
+
+
+
diff --git a/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp b/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp
new file mode 100644
index 00000000000..6218b764e09
--- /dev/null
+++ b/storage/ndb/src/common/transporter/priotest/prioSCI/prioSCI.cpp
@@ -0,0 +1,29 @@
+/* Copyright (C) 2003 MySQL AB
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+
+#include <prioTransporterTest.hpp>
+#include <NdbMain.h>
+
+NDB_COMMAND(prioSCI, "prioSCI", "prioSCI", "Test the SCI Transporter", 65535)
+{
+ basePortTCP = 17000;
+ return prioTransporterTest(TestSCI, "prioSCI", argc, argv);
+}
+
+
+
+