diff options
author | Ton Voon <ton.voon@opsera.com> | 2010-06-23 14:15:28 +0100 |
---|---|---|
committer | Ton Voon <ton.voon@opsera.com> | 2010-06-23 14:15:28 +0100 |
commit | 1749ff01479d95e4b8e68b3d8d1a5ddb7c0b399d (patch) | |
tree | 487cfe9358453eb89c36a33de5008c8b06add056 | |
parent | 5551252e03ec070cdb6310631057a01ca082ec96 (diff) | |
download | monitoring-plugins-archive/state_file.tar.gz |
Add test filesarchive/state_file
-rw-r--r-- | lib/tests/var/baddate | 5 | ||||
-rw-r--r-- | lib/tests/var/missingdataline | 4 | ||||
-rw-r--r-- | lib/tests/var/oldformat | 5 | ||||
-rw-r--r-- | 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 00000000..2fda432e --- /dev/null +++ b/lib/tests/var/baddate | |||
@@ -0,0 +1,5 @@ | |||
1 | # NP State file | ||
2 | 1 | ||
3 | 54 | ||
4 | 2147483647 | ||
5 | Date in future!!!! | ||
diff --git a/lib/tests/var/missingdataline b/lib/tests/var/missingdataline new file mode 100644 index 00000000..d87f73aa --- /dev/null +++ b/lib/tests/var/missingdataline | |||
@@ -0,0 +1,4 @@ | |||
1 | # NP State file | ||
2 | 1 | ||
3 | 54 | ||
4 | 1234567890 | ||
diff --git a/lib/tests/var/oldformat b/lib/tests/var/oldformat new file mode 100644 index 00000000..102f8c9f --- /dev/null +++ b/lib/tests/var/oldformat | |||
@@ -0,0 +1,5 @@ | |||
1 | # NP State file | ||
2 | 0 | ||
3 | 54 | ||
4 | 1234567890 | ||
5 | String to read | ||
diff --git a/lib/tests/var/statefile b/lib/tests/var/statefile new file mode 100644 index 00000000..5002139c --- /dev/null +++ b/lib/tests/var/statefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # NP State file | ||
2 | 1 | ||
3 | 54 | ||
4 | 1234567890 | ||
5 | String to read | ||