[nagiosplug] Add test files
Ton Voon
tonvoon at users.sourceforge.net
Wed Jun 23 15:16:22 CEST 2010
Module: nagiosplug
Branch: ton/state
Commit: 1749ff01479d95e4b8e68b3d8d1a5ddb7c0b399d
Author: Ton Voon <ton.voon at opsera.com>
Date: Wed Jun 23 14:15:28 2010 +0100
URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=1749ff0
Add test files
---
lib/tests/var/baddate | 5 +++++
lib/tests/var/missingdataline | 4 ++++
lib/tests/var/oldformat | 5 +++++
lib/tests/var/statefile | 5 +++++
4 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/lib/tests/var/baddate b/lib/tests/var/baddate
new file mode 100644
index 0000000..2fda432
--- /dev/null
+++ b/lib/tests/var/baddate
@@ -0,0 +1,5 @@
+# NP State file
+1
+54
+2147483647
+Date in future!!!!
diff --git a/lib/tests/var/missingdataline b/lib/tests/var/missingdataline
new file mode 100644
index 0000000..d87f73a
--- /dev/null
+++ b/lib/tests/var/missingdataline
@@ -0,0 +1,4 @@
+# NP State file
+1
+54
+1234567890
diff --git a/lib/tests/var/oldformat b/lib/tests/var/oldformat
new file mode 100644
index 0000000..102f8c9
--- /dev/null
+++ b/lib/tests/var/oldformat
@@ -0,0 +1,5 @@
+# NP State file
+0
+54
+1234567890
+String to read
diff --git a/lib/tests/var/statefile b/lib/tests/var/statefile
new file mode 100644
index 0000000..5002139
--- /dev/null
+++ b/lib/tests/var/statefile
@@ -0,0 +1,5 @@
+# NP State file
+1
+54
+1234567890
+String to read
More information about the Commits
mailing list