432eae58ca
Resolves: rhbz#2058490
22 lines
548 B
YAML
22 lines
548 B
YAML
---
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-source
|
|
tags:
|
|
- always
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
- atomic
|
|
required_packages:
|
|
- java-17-openjdk-devel
|
|
tests:
|
|
- javaVersion1:
|
|
dir: ~
|
|
run: set -ex; useradd franta1; su franta1 -c 'java -version';
|
|
run: set -ex; useradd franta4; su franta4 -c 'javac -version';
|
|
run: ls -l /usr/lib/jvm;
|
|
- javaVersion2:
|
|
dir: ~
|
|
run: set -ex; useradd franta2; su franta2 -c 'java --version'
|