summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-24 09:30:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-24 09:30:46 +0200
commit4ab560292a5c6b1fbed136d769b4a4b7345f2c9c (patch)
tree5635eb8dc9e9eac0517093dd7efd0b8c9c8e6767
parentcf1c773dff3bc1fe35a6550f2cfffafa2658aa3d (diff)
Remove list queue output tests, the failed on systems not using GMT+1
-rw-r--r--t/50-icli.t6
-rw-r--r--t/out/list_queue31
-rw-r--r--t/out/list_queue_aneurysm13
3 files changed, 3 insertions, 47 deletions
diff --git a/t/50-icli.t b/t/50-icli.t
index 7c48b4f..62d7912 100644
--- a/t/50-icli.t
+++ b/t/50-icli.t
@@ -6,7 +6,7 @@ use 5.010;
# We need commas in our qw list, they're not accidental
no warnings 'qw';
-use Test::Command tests => (38*3);
+use Test::Command tests => (36*3 + 4);
my $icli = 'bin/icli -f t/in/status.dat -c t/in/objects.cache -xn';
@@ -103,12 +103,12 @@ $cmd->stderr_is_eq($EMPTY);
$cmd = Test::Command->new(cmd => "$icli -lq");
$cmd->exit_is_num(0);
-$cmd->stdout_is_file('t/out/list_queue');
+# no stdout test, fails with timezones != GMT+1
$cmd->stderr_is_eq($EMPTY);
$cmd = Test::Command->new(cmd => "$icli -lq -h aneurysm");
$cmd->exit_is_num(0);
-$cmd->stdout_is_file('t/out/list_queue_aneurysm');
+# no stdout test, fails with timezones != GMT+1
$cmd->stderr_is_eq($EMPTY);
diff --git a/t/out/list_queue b/t/out/list_queue
deleted file mode 100644
index 4d2d651..0000000
--- a/t/out/list_queue
+++ /dev/null
@@ -1,31 +0,0 @@
-Host Service Last Check Next Check
-aneurysm SMTP 2010-07-28 10:43:36 2010-07-28 10:48:36
-aneurysm Disk: /data 2010-07-28 10:43:45 2010-07-28 10:48:45
-steel.derf0.net HTTP 2010-07-28 10:43:53 2010-07-28 10:48:53
-aneurysm Disk: /boot 2010-07-28 10:44:01 2010-07-28 10:49:01
-steel.derf0.net Disk: lv-root 2010-07-28 10:44:44 2010-07-28 10:49:44
-aneurysm Disk: /home 2010-07-28 10:44:56 2010-07-28 10:49:56
-steel.derf0.net SMTP 2010-07-28 10:45:21 2010-07-28 10:50:21
-steel.derf0.net SSH password login d 2010-07-28 10:35:27 2010-07-28 10:50:27
-aneurysm Load 2010-07-28 10:45:31 2010-07-28 10:50:31
-steel.derf0.net Disk: lv-home 2010-07-28 10:45:33 2010-07-28 10:50:33
-steel-vpn 2010-07-28 10:45:26 2010-07-28 10:50:36
-steel-vpn SMTP 2010-07-28 10:45:37 2010-07-28 10:50:37
-aneurysm Processes 2010-07-28 10:45:48 2010-07-28 10:50:48
-steel.derf0.net Processes 2010-07-28 10:45:52 2010-07-28 10:50:52
-alpha HTTP 2010-07-28 10:46:02 2010-07-28 10:51:02
-aneurysm HTTPS 2010-07-28 10:46:06 2010-07-28 10:51:06
-aneurysm Disk: / 2010-07-28 10:46:21 2010-07-28 10:51:21
-steel.derf0.net Mail Queue 2010-07-28 10:46:39 2010-07-28 10:51:39
-steel.derf0.net Users 2010-07-28 10:47:09 2010-07-28 10:52:09
-steel.derf0.net SSH 2010-07-28 10:47:17 2010-07-28 10:52:17
-aneurysm 2010-07-28 10:47:26 2010-07-28 10:52:36
-aneurysm HTTP 2010-07-28 10:48:18 2010-07-28 10:53:18
-steel.derf0.net Load 2010-07-28 10:48:19 2010-07-28 10:53:19
-steel.derf0.net Disk: vda1 2010-07-28 10:48:20 2010-07-28 10:53:20
-steel.derf0.net 2010-07-28 10:48:16 2010-07-28 10:53:26
-aneurysm SSH 2010-07-28 10:48:33 2010-07-28 10:53:33
-alpha 2010-07-28 10:48:26 2010-07-28 10:53:36
-aneurysm SSH password login d 2010-07-28 10:47:48 2010-07-28 11:02:48
-steel.derf0.net Not Blacklisted 2010-07-28 10:28:42 2010-07-28 11:28:42
-steel.derf0.net No open relay 2010-07-28 10:47:00 2010-07-28 11:47:00
diff --git a/t/out/list_queue_aneurysm b/t/out/list_queue_aneurysm
deleted file mode 100644
index dc0f3fa..0000000
--- a/t/out/list_queue_aneurysm
+++ /dev/null
@@ -1,13 +0,0 @@
-Host Service Last Check Next Check
-aneurysm SMTP 2010-07-28 10:43:36 2010-07-28 10:48:36
-aneurysm Disk: /data 2010-07-28 10:43:45 2010-07-28 10:48:45
-aneurysm Disk: /boot 2010-07-28 10:44:01 2010-07-28 10:49:01
-aneurysm Disk: /home 2010-07-28 10:44:56 2010-07-28 10:49:56
-aneurysm Load 2010-07-28 10:45:31 2010-07-28 10:50:31
-aneurysm Processes 2010-07-28 10:45:48 2010-07-28 10:50:48
-aneurysm HTTPS 2010-07-28 10:46:06 2010-07-28 10:51:06
-aneurysm Disk: / 2010-07-28 10:46:21 2010-07-28 10:51:21
-aneurysm 2010-07-28 10:47:26 2010-07-28 10:52:36
-aneurysm HTTP 2010-07-28 10:48:18 2010-07-28 10:53:18
-aneurysm SSH 2010-07-28 10:48:33 2010-07-28 10:53:33
-aneurysm SSH password login d 2010-07-28 10:47:48 2010-07-28 11:02:48