Skip to content

Commit

Permalink
Add container-structure-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pgschk committed Jan 29, 2025
1 parent 08f0381 commit 15ca53d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions test/container-structure-test/tests-enhanced.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
schemaVersion: 2.0.0
commandTests:
- name: "telnet in version 2.4 installed"
- name: "telnet in version 2.5 installed"
command: "telnet"
args: ["-V"]
expectedOutput:
- "2.4"
- "2.5"
- name: "netcat in version 1.226 installed"
command: "nc"
args: ["-h"]
expectedOutput:
- "OpenBSD netcat (Debian patchlevel 1.226)"
- name: "curl in version 8.5.0 installed"
- name: "curl in version 8.11.1 installed"
command: "curl"
args: ["-V"]
expectedOutput:
- "curl 8.5.0 (x86_64-alpine-linux-musl)"
- "curl 8.11.1"
- name: "tcpdump in version 4.99.4 installed"
command: "tcpdump"
args: ["--version"]
Expand All @@ -30,8 +30,8 @@ commandTests:
args: ["--help"]
expectedOutput:
- "mosquitto_pub version 2.0.18 running on libmosquitto 2.0.18."
- name: "strace in version 6.6 installed"
- name: "strace in version 6.9 installed"
command: "strace"
args: ["-V"]
expectedOutput:
- "strace -- version 6.6"
- "strace -- version 6.9"
8 changes: 4 additions & 4 deletions test/container-structure-test/tests.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
schemaVersion: 2.0.0
commandTests:
- name: "telnet in version 2.4 installed"
- name: "telnet in version 2.5 installed"
command: "telnet"
args: ["-V"]
expectedOutput:
- "2.4"
- "2.5"
- name: "netcat in version 1.226 installed"
command: "nc"
args: ["-h"]
expectedOutput:
- "OpenBSD netcat (Debian patchlevel 1.226)"
- name: "curl in version 8.5.0 installed"
- name: "curl in version 8.11.1 installed"
command: "curl"
args: ["-V"]
expectedOutput:
- "curl 8.5.0 (x86_64-alpine-linux-musl)"
- "curl 8.11.1"
- name: "tcpdump in version 4.99.4 installed"
command: "tcpdump"
args: ["--version"]
Expand Down

0 comments on commit 15ca53d

Please sign in to comment.