Skip to content

Commit

Permalink
✅ Add OS version test (#11)
Browse files Browse the repository at this point in the history
Add OS version test

Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
Jacob Woffenden authored Feb 21, 2024
1 parent d30c7d2 commit 234b191
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/container-structure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ containerRunOptions:
user: "analyticalplatform"

commandTests:
- name: "ubuntu"
command: "grep"
args: ["DISTRIB_RELEASE", "/etc/lsb-release"]
expectedOutput: ["DISTRIB_RELEASE=22.04"]

- name: "whoami"
command: "whoami"
expectedOutput: ["analyticalplatform"]
Expand Down

0 comments on commit 234b191

Please sign in to comment.