summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-05-18 01:53:41 +0300
committerPaul Buetow <paul@buetow.org>2025-05-18 01:53:41 +0300
commit6d31f8a1da54b20830eb3094b150cd7becc4bd9c (patch)
treedba393d26a6e50fc4513bb31e43c57dd5f82a302
parent93b082fe6bc861578fe695e979dc707814fd3b3f (diff)
update tests
-rw-r--r--fixtures/Host.Boots.Gemtext.expected14
-rw-r--r--fixtures/Host.Boots.Markdown.expected14
-rw-r--r--fixtures/Host.Boots.Plaintext.expected17
-rw-r--r--fixtures/Host.Downtime.Gemtext.expected14
-rw-r--r--fixtures/Host.Downtime.Markdown.expected14
-rw-r--r--fixtures/Host.Downtime.Plaintext.expected17
-rw-r--r--fixtures/Host.Lifespan.Gemtext.expected14
-rw-r--r--fixtures/Host.Lifespan.Markdown.expected14
-rw-r--r--fixtures/Host.Lifespan.Plaintext.expected17
-rw-r--r--fixtures/Host.Score.Gemtext.expected14
-rw-r--r--fixtures/Host.Score.Markdown.expected14
-rw-r--r--fixtures/Host.Score.Plaintext.expected18
-rw-r--r--fixtures/Host.Uptime.Gemtext.expected14
-rw-r--r--fixtures/Host.Uptime.Markdown.expected14
-rw-r--r--fixtures/Host.Uptime.Plaintext.expected17
15 files changed, 110 insertions, 116 deletions
diff --git a/fixtures/Host.Boots.Gemtext.expected b/fixtures/Host.Boots.Gemtext.expected
index b8139c2..a6f27d4 100644
--- a/fixtures/Host.Boots.Gemtext.expected
+++ b/fixtures/Host.Boots.Gemtext.expected
@@ -3,11 +3,11 @@
Boots is the total number of host boots over the entire lifespan.
```
-+-----+----------------+-------+
-| Pos | Host | Boots |
-+-----+----------------+-------+
-| 1. | alphacentauri | 671 |
-| 2. | mars | 207 |
-| 3. | callisto | 153 |
-+-----+----------------+-------+
++-----+----------------+-------+-----------------------------+
+| Pos | Host | Boots | Last Kernel |
++-----+----------------+-------+-----------------------------+
+| 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 |
+| 2. | mars | 207 | Linux 3.2.0-4-amd64 |
+| 3. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 |
++-----+----------------+-------+-----------------------------+
```
diff --git a/fixtures/Host.Boots.Markdown.expected b/fixtures/Host.Boots.Markdown.expected
index b8139c2..a6f27d4 100644
--- a/fixtures/Host.Boots.Markdown.expected
+++ b/fixtures/Host.Boots.Markdown.expected
@@ -3,11 +3,11 @@
Boots is the total number of host boots over the entire lifespan.
```
-+-----+----------------+-------+
-| Pos | Host | Boots |
-+-----+----------------+-------+
-| 1. | alphacentauri | 671 |
-| 2. | mars | 207 |
-| 3. | callisto | 153 |
-+-----+----------------+-------+
++-----+----------------+-------+-----------------------------+
+| Pos | Host | Boots | Last Kernel |
++-----+----------------+-------+-----------------------------+
+| 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 |
+| 2. | mars | 207 | Linux 3.2.0-4-amd64 |
+| 3. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 |
++-----+----------------+-------+-----------------------------+
```
diff --git a/fixtures/Host.Boots.Plaintext.expected b/fixtures/Host.Boots.Plaintext.expected
index d3b3174..75d8f24 100644
--- a/fixtures/Host.Boots.Plaintext.expected
+++ b/fixtures/Host.Boots.Plaintext.expected
@@ -1,13 +1,12 @@
Top 3 Boots's by Host
- Boots is the total number of
-host boots over the entire
+ Boots is the total number of host boots over the entire
lifespan.
-+-----+----------------+-------+
-| Pos | Host | Boots |
-+-----+----------------+-------+
-| 1. | alphacentauri | 671 |
-| 2. | mars | 207 |
-| 3. | callisto | 153 |
-+-----+----------------+-------+
++-----+----------------+-------+-----------------------------+
+| Pos | Host | Boots | Last Kernel |
++-----+----------------+-------+-----------------------------+
+| 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 |
+| 2. | mars | 207 | Linux 3.2.0-4-amd64 |
+| 3. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 |
++-----+----------------+-------+-----------------------------+
diff --git a/fixtures/Host.Downtime.Gemtext.expected b/fixtures/Host.Downtime.Gemtext.expected
index 9b72e07..ae83985 100644
--- a/fixtures/Host.Downtime.Gemtext.expected
+++ b/fixtures/Host.Downtime.Gemtext.expected
@@ -3,11 +3,11 @@
Downtime is the total downtime of a host over the entire lifespan.
```
-+-----+----------------+-----------------------------+
-| Pos | Host | Downtime |
-+-----+----------------+-----------------------------+
-| 1. | dionysus | 8 years, 3 months, 16 days |
-| 2. | alphacentauri | 5 years, 11 months, 18 days |
-| 3. | uranus | 3 years, 3 months, 28 days |
-+-----+----------------+-----------------------------+
++-----+----------------+-----------------------------+--------------------------+
+| Pos | Host | Downtime | Last Kernel |
++-----+----------------+-----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 3 months, 16 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | alphacentauri | 5 years, 11 months, 18 days | FreeBSD 11.4-RELEASE-p7 |
+| 3. | uranus | 3 years, 3 months, 28 days | Linux 5.16.14-arch1-1 |
++-----+----------------+-----------------------------+--------------------------+
```
diff --git a/fixtures/Host.Downtime.Markdown.expected b/fixtures/Host.Downtime.Markdown.expected
index 9b72e07..ae83985 100644
--- a/fixtures/Host.Downtime.Markdown.expected
+++ b/fixtures/Host.Downtime.Markdown.expected
@@ -3,11 +3,11 @@
Downtime is the total downtime of a host over the entire lifespan.
```
-+-----+----------------+-----------------------------+
-| Pos | Host | Downtime |
-+-----+----------------+-----------------------------+
-| 1. | dionysus | 8 years, 3 months, 16 days |
-| 2. | alphacentauri | 5 years, 11 months, 18 days |
-| 3. | uranus | 3 years, 3 months, 28 days |
-+-----+----------------+-----------------------------+
++-----+----------------+-----------------------------+--------------------------+
+| Pos | Host | Downtime | Last Kernel |
++-----+----------------+-----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 3 months, 16 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | alphacentauri | 5 years, 11 months, 18 days | FreeBSD 11.4-RELEASE-p7 |
+| 3. | uranus | 3 years, 3 months, 28 days | Linux 5.16.14-arch1-1 |
++-----+----------------+-----------------------------+--------------------------+
```
diff --git a/fixtures/Host.Downtime.Plaintext.expected b/fixtures/Host.Downtime.Plaintext.expected
index 5f069cb..1da87aa 100644
--- a/fixtures/Host.Downtime.Plaintext.expected
+++ b/fixtures/Host.Downtime.Plaintext.expected
@@ -1,12 +1,11 @@
Top 3 Downtime's by Host
- Downtime is the total downtime of a host over the
-entire lifespan.
+Downtime is the total downtime of a host over the entire lifespan.
-+-----+----------------+-----------------------------+
-| Pos | Host | Downtime |
-+-----+----------------+-----------------------------+
-| 1. | dionysus | 8 years, 3 months, 16 days |
-| 2. | alphacentauri | 5 years, 11 months, 18 days |
-| 3. | uranus | 3 years, 3 months, 28 days |
-+-----+----------------+-----------------------------+
++-----+----------------+-----------------------------+--------------------------+
+| Pos | Host | Downtime | Last Kernel |
++-----+----------------+-----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 3 months, 16 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | alphacentauri | 5 years, 11 months, 18 days | FreeBSD 11.4-RELEASE-p7 |
+| 3. | uranus | 3 years, 3 months, 28 days | Linux 5.16.14-arch1-1 |
++-----+----------------+-----------------------------+--------------------------+
diff --git a/fixtures/Host.Lifespan.Gemtext.expected b/fixtures/Host.Lifespan.Gemtext.expected
index 8d1b85f..b5cf89c 100644
--- a/fixtures/Host.Lifespan.Gemtext.expected
+++ b/fixtures/Host.Lifespan.Gemtext.expected
@@ -3,11 +3,11 @@
Lifespan is the total uptime + the total downtime of a host.
```
-+-----+----------------+----------------------------+
-| Pos | Host | Lifespan |
-+-----+----------------+----------------------------+
-| 1. | dionysus | 8 years, 6 months, 17 days |
-| 2. | uranus | 7 years, 2 months, 16 days |
-| 3. | alphacentauri | 6 years, 9 months, 13 days |
-+-----+----------------+----------------------------+
++-----+----------------+----------------------------+--------------------------+
+| Pos | Host | Lifespan | Last Kernel |
++-----+----------------+----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 6 months, 17 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | uranus | 7 years, 2 months, 16 days | Linux 5.16.14-arch1-1 |
+| 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 |
++-----+----------------+----------------------------+--------------------------+
```
diff --git a/fixtures/Host.Lifespan.Markdown.expected b/fixtures/Host.Lifespan.Markdown.expected
index 8d1b85f..b5cf89c 100644
--- a/fixtures/Host.Lifespan.Markdown.expected
+++ b/fixtures/Host.Lifespan.Markdown.expected
@@ -3,11 +3,11 @@
Lifespan is the total uptime + the total downtime of a host.
```
-+-----+----------------+----------------------------+
-| Pos | Host | Lifespan |
-+-----+----------------+----------------------------+
-| 1. | dionysus | 8 years, 6 months, 17 days |
-| 2. | uranus | 7 years, 2 months, 16 days |
-| 3. | alphacentauri | 6 years, 9 months, 13 days |
-+-----+----------------+----------------------------+
++-----+----------------+----------------------------+--------------------------+
+| Pos | Host | Lifespan | Last Kernel |
++-----+----------------+----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 6 months, 17 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | uranus | 7 years, 2 months, 16 days | Linux 5.16.14-arch1-1 |
+| 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 |
++-----+----------------+----------------------------+--------------------------+
```
diff --git a/fixtures/Host.Lifespan.Plaintext.expected b/fixtures/Host.Lifespan.Plaintext.expected
index b10430b..e6740e1 100644
--- a/fixtures/Host.Lifespan.Plaintext.expected
+++ b/fixtures/Host.Lifespan.Plaintext.expected
@@ -1,12 +1,11 @@
Top 3 Lifespan's by Host
- Lifespan is the total uptime + the total downtime of
-a host.
+Lifespan is the total uptime + the total downtime of a host.
-+-----+----------------+----------------------------+
-| Pos | Host | Lifespan |
-+-----+----------------+----------------------------+
-| 1. | dionysus | 8 years, 6 months, 17 days |
-| 2. | uranus | 7 years, 2 months, 16 days |
-| 3. | alphacentauri | 6 years, 9 months, 13 days |
-+-----+----------------+----------------------------+
++-----+----------------+----------------------------+--------------------------+
+| Pos | Host | Lifespan | Last Kernel |
++-----+----------------+----------------------------+--------------------------+
+| 1. | dionysus | 8 years, 6 months, 17 days | FreeBSD 13.0-RELEASE-p11 |
+| 2. | uranus | 7 years, 2 months, 16 days | Linux 5.16.14-arch1-1 |
+| 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 |
++-----+----------------+----------------------------+--------------------------+
diff --git a/fixtures/Host.Score.Gemtext.expected b/fixtures/Host.Score.Gemtext.expected
index 51cb3d6..ba5c572 100644
--- a/fixtures/Host.Score.Gemtext.expected
+++ b/fixtures/Host.Score.Gemtext.expected
@@ -3,11 +3,11 @@
Score is calculated by combining all other metrics.
```
-+-----+---------+-------+
-| Pos | Host | Score |
-+-----+---------+-------+
-| 1. | uranus | 309 |
-| 2. | vulcan | 270 |
-| 3. | sun | 238 |
-+-----+---------+-------+
++-----+---------+-------+-----------------------------------+
+| Pos | Host | Score | Last Kernel |
++-----+---------+-------+-----------------------------------+
+| 1. | uranus | 309 | Linux 5.16.14-arch1-1 |
+| 2. | vulcan | 270 | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 3. | sun | 238 | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-------+-----------------------------------+
```
diff --git a/fixtures/Host.Score.Markdown.expected b/fixtures/Host.Score.Markdown.expected
index 51cb3d6..ba5c572 100644
--- a/fixtures/Host.Score.Markdown.expected
+++ b/fixtures/Host.Score.Markdown.expected
@@ -3,11 +3,11 @@
Score is calculated by combining all other metrics.
```
-+-----+---------+-------+
-| Pos | Host | Score |
-+-----+---------+-------+
-| 1. | uranus | 309 |
-| 2. | vulcan | 270 |
-| 3. | sun | 238 |
-+-----+---------+-------+
++-----+---------+-------+-----------------------------------+
+| Pos | Host | Score | Last Kernel |
++-----+---------+-------+-----------------------------------+
+| 1. | uranus | 309 | Linux 5.16.14-arch1-1 |
+| 2. | vulcan | 270 | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 3. | sun | 238 | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-------+-----------------------------------+
```
diff --git a/fixtures/Host.Score.Plaintext.expected b/fixtures/Host.Score.Plaintext.expected
index c6c46f5..f70f6ea 100644
--- a/fixtures/Host.Score.Plaintext.expected
+++ b/fixtures/Host.Score.Plaintext.expected
@@ -1,13 +1,11 @@
Top 3 Score's by Host
- Score is calculated by
-combining all other
-metrics.
+Score is calculated by combining all other metrics.
-+-----+---------+-------+
-| Pos | Host | Score |
-+-----+---------+-------+
-| 1. | uranus | 309 |
-| 2. | vulcan | 270 |
-| 3. | sun | 238 |
-+-----+---------+-------+
++-----+---------+-------+-----------------------------------+
+| Pos | Host | Score | Last Kernel |
++-----+---------+-------+-----------------------------------+
+| 1. | uranus | 309 | Linux 5.16.14-arch1-1 |
+| 2. | vulcan | 270 | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 3. | sun | 238 | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-------+-----------------------------------+
diff --git a/fixtures/Host.Uptime.Gemtext.expected b/fixtures/Host.Uptime.Gemtext.expected
index 97507aa..6f39e8a 100644
--- a/fixtures/Host.Uptime.Gemtext.expected
+++ b/fixtures/Host.Uptime.Gemtext.expected
@@ -3,11 +3,11 @@
Uptime is the total uptime of a host over the entire lifespan.
```
-+-----+---------+-----------------------------+
-| Pos | Host | Uptime |
-+-----+---------+-----------------------------+
-| 1. | vulcan | 4 years, 4 months, 7 days |
-| 2. | uranus | 3 years, 11 months, 21 days |
-| 3. | sun | 3 years, 9 months, 26 days |
-+-----+---------+-----------------------------+
++-----+---------+-----------------------------+-----------------------------------+
+| Pos | Host | Uptime | Last Kernel |
++-----+---------+-----------------------------+-----------------------------------+
+| 1. | vulcan | 4 years, 4 months, 7 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 2. | uranus | 3 years, 11 months, 21 days | Linux 5.16.14-arch1-1 |
+| 3. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-----------------------------+-----------------------------------+
```
diff --git a/fixtures/Host.Uptime.Markdown.expected b/fixtures/Host.Uptime.Markdown.expected
index 97507aa..6f39e8a 100644
--- a/fixtures/Host.Uptime.Markdown.expected
+++ b/fixtures/Host.Uptime.Markdown.expected
@@ -3,11 +3,11 @@
Uptime is the total uptime of a host over the entire lifespan.
```
-+-----+---------+-----------------------------+
-| Pos | Host | Uptime |
-+-----+---------+-----------------------------+
-| 1. | vulcan | 4 years, 4 months, 7 days |
-| 2. | uranus | 3 years, 11 months, 21 days |
-| 3. | sun | 3 years, 9 months, 26 days |
-+-----+---------+-----------------------------+
++-----+---------+-----------------------------+-----------------------------------+
+| Pos | Host | Uptime | Last Kernel |
++-----+---------+-----------------------------+-----------------------------------+
+| 1. | vulcan | 4 years, 4 months, 7 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 2. | uranus | 3 years, 11 months, 21 days | Linux 5.16.14-arch1-1 |
+| 3. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-----------------------------+-----------------------------------+
```
diff --git a/fixtures/Host.Uptime.Plaintext.expected b/fixtures/Host.Uptime.Plaintext.expected
index 11ab6bb..39231f2 100644
--- a/fixtures/Host.Uptime.Plaintext.expected
+++ b/fixtures/Host.Uptime.Plaintext.expected
@@ -1,12 +1,11 @@
Top 3 Uptime's by Host
- Uptime is the total uptime of a host over the
-entire lifespan.
+Uptime is the total uptime of a host over the entire lifespan.
-+-----+---------+-----------------------------+
-| Pos | Host | Uptime |
-+-----+---------+-----------------------------+
-| 1. | vulcan | 4 years, 4 months, 7 days |
-| 2. | uranus | 3 years, 11 months, 21 days |
-| 3. | sun | 3 years, 9 months, 26 days |
-+-----+---------+-----------------------------+
++-----+---------+-----------------------------+-----------------------------------+
+| Pos | Host | Uptime | Last Kernel |
++-----+---------+-----------------------------+-----------------------------------+
+| 1. | vulcan | 4 years, 4 months, 7 days | Linux 3.10.0-1160.81.1.el7.x86_64 |
+| 2. | uranus | 3 years, 11 months, 21 days | Linux 5.16.14-arch1-1 |
+| 3. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 |
++-----+---------+-----------------------------+-----------------------------------+