Skip to content

Commit 2fcf4b1

Browse files
committed
xeol: test
1 parent 24f97a7 commit 2fcf4b1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Formula/x/xeol.rb

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

36-
output = shell_output("#{bin}/xeol alpine:latest")
36+
output = shell_output("#{bin}/xeol db delete 2>&1")
37+
assert_match "EOL database deleted", output
38+
39+
output = shell_output("#{bin}/xeol db update 2>&1")
40+
assert_match "EOL database updated to latest version", output
41+
42+
output = shell_output("#{bin}/xeol alpine:latest 2>&1")
3743
assert_match "no EOL software has been found", output
3844
end
3945
end

0 commit comments

Comments
 (0)