Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Formula/x/xeol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading