From f2e1c115a5981e0b23894f3d7656004d4fb36846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= <319826+stefanb@users.noreply.github.com> Date: Fri, 5 Sep 2025 06:26:12 +0200 Subject: [PATCH] xeol: test EOL database status --- Formula/x/xeol.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Formula/x/xeol.rb b/Formula/x/xeol.rb index 9ae7a5c13a75..4f0e6058aa99 100644 --- a/Formula/x/xeol.rb +++ b/Formula/x/xeol.rb @@ -38,7 +38,13 @@ def install test do assert_match version.to_s, shell_output("#{bin}/xeol version") - output = shell_output("#{bin}/xeol alpine:latest") + output = shell_output("#{bin}/xeol db update 2>&1") + assert_match "EOL database updated to latest version!", output + + output = shell_output("#{bin}/xeol db status 2>&1") + assert_match "Status: valid", output + + output = shell_output("#{bin}/xeol alpine:latest 2>&1") assert_match "no EOL software has been found", output end end