-
Notifications
You must be signed in to change notification settings - Fork 37
/
test_linux_arm64.yaml
28 lines (27 loc) · 1.06 KB
/
test_linux_arm64.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
schemaVersion: "2.0.0"
commandTests:
- name: "echo hello"
command: "/bin/bash"
args: ["-c", "echo hello world!"]
expectedOutput: ["hello world!"]
- name: "apt list --installed"
command: "apt"
args: ["list", "--installed"]
expectedOutput:
- Listing\.\.\.
- apt/now 2\.7\.12 arm64 \[installed,local\]
- bash/now 5\.2\.21\-2ubuntu2 arm64 \[installed,local\]
- coreutils/now 9\.4\-2ubuntu4 arm64 \[installed,local\]
- dpkg/now 1\.22\.4ubuntu5 arm64 \[installed,local\]
- grep/now 3\.11-4 arm64 \[installed,local\]
- libncurses6/now 6\.4\+20240113\-1ubuntu1 arm64 \[installed,local\]
- ncurses-base/now 6\.4\+20240113\-1ubuntu1 all \[installed,local\]
- perl/now 5\.38\.2\-3 arm64 \[installed,local\]
- tzdata/now 2024a\-1ubuntu1 all \[installed,local\]
- name: "coreutils doesn't have libssl3 dependency (it's only in amd64)"
command: "/bin/bash"
args: ["-c", "apt list --installed | grep -vq libssl3"]
expectedOutput: []
- name: "whoami"
command: "whoami"
expectedOutput: [r00t]