-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathjava17_debug_debian13.yaml
More file actions
36 lines (36 loc) · 987 Bytes
/
java17_debug_debian13.yaml
File metadata and controls
36 lines (36 loc) · 987 Bytes
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
29
30
31
32
33
34
35
36
schemaVersion: "2.0.0"
commandTests:
- name: java
command: "/usr/lib/jvm/temurin-17-jdk-amd64/bin/java"
args: ["-version"]
expectedError: ['openjdk version "17.0.18"']
- name: java-symlink
command: "/usr/bin/java"
args: ["-version"]
expectedError: ['openjdk version "17.0.18"']
- name: javac
command: "/usr/lib/jvm/temurin-17-jdk-amd64/bin/javac"
args: ["-version"]
expectedOutput: ['javac 17.0.18']
fileExistenceTests:
- name: certs
path: "/etc/ssl/certs/java/cacerts"
shouldExist: true
- name: certs
path: "/etc/ssl/certs/adoptium/cacerts"
permissions: 'Lrwxrwxrwx'
shouldExist: true
- name: certs
path: "/usr/lib/jvm/temurin-17-jdk-amd64/lib/security/cacerts"
permissions: 'Lrwxrwxrwx'
shouldExist: true
- name: busybox
path: "/busybox/sh"
shouldExist: true
- name: no-shell
path: "/bin/sh"
shouldExist: false
metadataTest:
envVars:
- key: 'JAVA_VERSION'
value: '17.0.18'