Skip to content

Commit

Permalink
test(functions): adds case for apt_get_packages (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyoungstudios authored Sep 21, 2024
1 parent c53af52 commit 2cf8e34
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/resources/functions/apt_get_packages/runners.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[common.test]

assert-install-names = ["apt_get_packages"]

[[common.test.commands]]

command = "bash"
arguments = [
"-ceu",
"which jq",
]
assert-stdout-equals = "/usr/bin/jq"

[case.common]
os = "ubuntu-22.04"
image = "phusion/baseimage:jammy-1.0.4"
5 changes: 5 additions & 0 deletions test/resources/functions/apt_get_packages/test_config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[ apt_get_packages ]
options = [
"--no-install-recommends",
"jq"
]

0 comments on commit 2cf8e34

Please sign in to comment.