From dd1e24b4b30478728dd8b30b2dfef64d9d9a1dc9 Mon Sep 17 00:00:00 2001
From: Ruud Overeem <overeem@astron.nl>
Date: Thu, 4 Jun 2009 15:16:08 +0000
Subject: [PATCH] Bug 1284: TestDP DPtype was not known in the database. Added
 .dpl file and .sh file.

---
 .gitattributes                     |  1 +
 MAC/GCF/PVSS/test/Makefile.am      |  2 +-
 MAC/GCF/PVSS/test/tPVSSservice.dpl | 22 ++++++++++++++++++++++
 MAC/GCF/PVSS/test/tPVSSservice.sh  |  3 +++
 4 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 MAC/GCF/PVSS/test/tPVSSservice.dpl
 create mode 100755 MAC/GCF/PVSS/test/tPVSSservice.sh

diff --git a/.gitattributes b/.gitattributes
index e69ef0edb8f..9c42c6b9c04 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -460,6 +460,7 @@ MAC/GCF/LogSys/KVLogSys/src/Makefile.am -text svneol=native#application/octet-st
 MAC/GCF/LogSys/Makefile.am -text svneol=native#application/octet-stream
 MAC/GCF/LogSys/bootstrap -text svneol=native#application/octet-stream
 MAC/GCF/LogSys/configure.in -text svneol=native#application/octet-stream
+MAC/GCF/PVSS/test/tPVSSservice.dpl -text
 MAC/GCF/README -text svneol=native#application/octet-stream
 MAC/GCF/RTDB/test/readScript.ctl -text
 MAC/GCF/RTDB/test/writeScript.ctl -text
diff --git a/MAC/GCF/PVSS/test/Makefile.am b/MAC/GCF/PVSS/test/Makefile.am
index 0946feff836..745632437ae 100644
--- a/MAC/GCF/PVSS/test/Makefile.am
+++ b/MAC/GCF/PVSS/test/Makefile.am
@@ -2,7 +2,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/PVSS/src
 
 check_PROGRAMS 		= tPVSSservice tPerformance tPVSSconnect tMonitorState tPVSSinfo
 
-TESTS				= tPVSSservice 
+TESTS				= tPVSSservice.sh
 
 tPVSSservice_SOURCES 		= $(BUILT_SOURCES) tPVSSservice.cc Response.cc
 tPVSSservice_LDADD			=  ../src/libgcfpvss.la $(LOFAR_DEPEND)
diff --git a/MAC/GCF/PVSS/test/tPVSSservice.dpl b/MAC/GCF/PVSS/test/tPVSSservice.dpl
new file mode 100644
index 00000000000..6b20e08efe3
--- /dev/null
+++ b/MAC/GCF/PVSS/test/tPVSSservice.dpl
@@ -0,0 +1,22 @@
+# This file was generated by create_db_files v1.0 on Thu Mar 15 07:51:32 UTC 2007
+
+TypeName
+TestPS.TestPS	1#1
+	uintVal	20#2
+	intVal	21#3
+	floatVal	22#4
+	boolVal	23#5
+	stringVal	25#6
+	uintArr	4#7
+	intArr	5#8
+	floatArr	6#9
+	boolArr	7#10
+	stringArr	8#11
+	level1	1#12
+		intVal	21#13
+		level2	1#14
+			stringVal	25#15
+
+TestInt.TestInt	1#1
+	theValue	21#2
+
diff --git a/MAC/GCF/PVSS/test/tPVSSservice.sh b/MAC/GCF/PVSS/test/tPVSSservice.sh
new file mode 100755
index 00000000000..fcb1841471b
--- /dev/null
+++ b/MAC/GCF/PVSS/test/tPVSSservice.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+PVSS00ascii -in tPVSSservice.dpl
+$lofar_sharedir/runtest.sh tPVSSservice 2>&1 > tPVSSservice.log
-- 
GitLab