diff --git a/Formula/x/xeol.rb b/Formula/x/xeol.rb index 9ae7a5c13a75d..4f0e6058aa996 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