diff options
author | Alex Bradley <a.bradley@alumni.cs.ubc.ca> | 2012-10-03 15:54:24 -0700 |
---|---|---|
committer | Alex Bradley <a.bradley@alumni.cs.ubc.ca> | 2012-10-03 15:54:24 -0700 |
commit | 13e85a0f4f9d1ede624e1135f1646c64ecc052a4 (patch) | |
tree | 7f530ec0003cfe599da8ffa6e17472175d67ce84 /plugins/t/check_apt_input/debian2 | |
parent | 09c25be0d1c95ce1deba7d9ee046b343cbd7ab93 (diff) | |
download | monitoring-plugins-13e85a0f4f9d1ede624e1135f1646c64ecc052a4.tar.gz |
Tests for check_apt
Add a hidden "--input-file" option to check_apt (modelled on
check_procs) so that it can take files with sample apt output as input.
Add tests for my SECURITY_RE fix (debian3) and for the include, exclude
and critical options.
Diffstat (limited to 'plugins/t/check_apt_input/debian2')
-rw-r--r-- | plugins/t/check_apt_input/debian2 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/t/check_apt_input/debian2 b/plugins/t/check_apt_input/debian2 new file mode 100644 index 00000000..effd1553 --- /dev/null +++ b/plugins/t/check_apt_input/debian2 | |||
@@ -0,0 +1,37 @@ | |||
1 | NOTE: This is only a simulation! | ||
2 | apt-get needs root privileges for real execution. | ||
3 | Keep also in mind that locking is deactivated, | ||
4 | so don't depend on the relevance to the real current situation! | ||
5 | Reading package lists... Done | ||
6 | Building dependency tree | ||
7 | Reading state information... Done | ||
8 | The following packages will be upgraded: | ||
9 | base-files debian-archive-keyring dpkg firmware-linux-free libc-bin libc-dev-bin libc6 libc6-dev linux-base | ||
10 | linux-image-2.6.32-5-xen-amd64 linux-libc-dev locales lockfile-progs | ||
11 | 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | ||
12 | Inst base-files [6.0squeeze5] (6.0squeeze6 Debian:6.0.6/stable [amd64]) | ||
13 | Conf base-files (6.0squeeze6 Debian:6.0.6/stable [amd64]) | ||
14 | Inst dpkg [1.15.8.12] (1.15.8.13 Debian:6.0.6/stable [amd64]) | ||
15 | Conf dpkg (1.15.8.13 Debian:6.0.6/stable [amd64]) | ||
16 | Inst linux-base [2.6.32-45] (2.6.32-46 Debian:6.0.6/stable [all]) | ||
17 | Inst linux-image-2.6.32-5-xen-amd64 [2.6.32-45] (2.6.32-46 Debian:6.0.6/stable [amd64]) | ||
18 | Inst debian-archive-keyring [2010.08.28] (2010.08.28+squeeze1 Debian:6.0.6/stable [all]) | ||
19 | Conf debian-archive-keyring (2010.08.28+squeeze1 Debian:6.0.6/stable [all]) | ||
20 | Inst libc6-dev [2.11.3-3] (2.11.3-4 Debian:6.0.6/stable [amd64]) [] | ||
21 | Inst libc-dev-bin [2.11.3-3] (2.11.3-4 Debian:6.0.6/stable [amd64]) [] | ||
22 | Inst linux-libc-dev [2.6.32-45] (2.6.32-46 Debian:6.0.6/stable [amd64]) [] | ||
23 | Inst libc-bin [2.11.3-3] (2.11.3-4 Debian:6.0.6/stable [amd64]) [libc6:amd64 ] | ||
24 | Conf libc-bin (2.11.3-4 Debian:6.0.6/stable [amd64]) [libc6:amd64 ] | ||
25 | Inst libc6 [2.11.3-3] (2.11.3-4 Debian:6.0.6/stable [amd64]) | ||
26 | Conf libc6 (2.11.3-4 Debian:6.0.6/stable [amd64]) | ||
27 | Inst locales [2.11.3-3] (2.11.3-4 Debian:6.0.6/stable [all]) | ||
28 | Inst firmware-linux-free [2.6.32-45] (2.6.32-46 Debian:6.0.6/stable [all]) | ||
29 | Inst lockfile-progs [0.1.15] (0.1.15+squeeze1 Debian:6.0.6/stable [amd64]) | ||
30 | Conf linux-base (2.6.32-46 Debian:6.0.6/stable [all]) | ||
31 | Conf linux-image-2.6.32-5-xen-amd64 (2.6.32-46 Debian:6.0.6/stable [amd64]) | ||
32 | Conf libc-dev-bin (2.11.3-4 Debian:6.0.6/stable [amd64]) | ||
33 | Conf linux-libc-dev (2.6.32-46 Debian:6.0.6/stable [amd64]) | ||
34 | Conf libc6-dev (2.11.3-4 Debian:6.0.6/stable [amd64]) | ||
35 | Conf locales (2.11.3-4 Debian:6.0.6/stable [all]) | ||
36 | Conf firmware-linux-free (2.6.32-46 Debian:6.0.6/stable [all]) | ||
37 | Conf lockfile-progs (0.1.15+squeeze1 Debian:6.0.6/stable [amd64]) | ||