Skip to content

Commit aad5abb

Browse files
authored
Merge pull request #236233 from Homebrew/xeol-test
xeol: test EOL database status
2 parents 637abbf + f2e1c11 commit aad5abb

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Formula/x/xeol.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,13 @@ def install
3838
test do
3939
assert_match version.to_s, shell_output("#{bin}/xeol version")
4040

41-
output = shell_output("#{bin}/xeol alpine:latest")
41+
output = shell_output("#{bin}/xeol db update 2>&1")
42+
assert_match "EOL database updated to latest version!", output
43+
44+
output = shell_output("#{bin}/xeol db status 2>&1")
45+
assert_match "Status: valid", output
46+
47+
output = shell_output("#{bin}/xeol alpine:latest 2>&1")
4248
assert_match "no EOL software has been found", output
4349
end
4450
end

0 commit comments

Comments
 (0)