Compare commits
No commits in common. "c8s" and "c8-beta" have entirely different histories.
1
.fontpackages.metadata
Normal file
1
.fontpackages.metadata
Normal file
@ -0,0 +1 @@
|
||||
588b6d5a2d5e687215cba7bb09d12e4692adc3d8 SOURCES/fontpackages-1.44.tar.xz
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
fontpackages-1.44.tar.xz
|
||||
SOURCES/fontpackages-1.44.tar.xz
|
||||
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-8
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
1
sources
@ -1 +0,0 @@
|
||||
SHA512 (fontpackages-1.44.tar.xz) = a10caaff4445b18dc6c64b30123ba8738268e96ad634e45a546f5b7e844cc1f109ed2eef1b284b3a35534a4b86dd48ffadb604a6ce725fb969aad96b1a92d44a
|
@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Test for fontpackages-filesystem"
|
||||
rpm -qf `rpm -E %_fontbasedir`|grep fontpackages-filesystem
|
||||
retval=$?
|
||||
echo $retval
|
||||
if [ $retval -ne 0 ]; then
|
||||
echo "FAILED: %_fontbasedir is not owned by fontpackages-filesystem"
|
||||
else
|
||||
echo "PASSED: %_fontbasedir is owned by fontpackages-filesystem"
|
||||
fi
|
||||
|
||||
|
||||
echo "Test for fontpackages-devel"
|
||||
rpm -E %_font_pkg
|
||||
retval=$?
|
||||
echo $retval
|
||||
if [ $retval -ne 0 ]; then
|
||||
echo "FAILED: %_font_pkg macro is not available by fontpackages-devel"
|
||||
else
|
||||
echo "PASSED: %_font_pkg macro is available by fontpackages-devel"
|
||||
fi
|
||||
|
||||
echo "Test dependencies of font packages"
|
||||
rpm -q --requires lohit-devanagari-fonts|grep fontpackages-filesystem
|
||||
retval=$?
|
||||
echo $retval
|
||||
if [ $retval -ne 0 ]; then
|
||||
echo "FAILED: lohit-devanagari-fonts package does not require fontpackages-filesystem package"
|
||||
else
|
||||
echo "PASSED: lohit-devanagari-fonts package does require fontpackages-filesystem package"
|
||||
fi
|
||||
|
@ -1,33 +0,0 @@
|
||||
- hosts: localhost
|
||||
vars:
|
||||
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
||||
tags:
|
||||
- classic
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: Install required packages
|
||||
dnf:
|
||||
name:
|
||||
- lohit-devanagari-fonts
|
||||
|
||||
- name: Install the test files
|
||||
copy: src={{ item.file }} dest=/tmp/{{ item.dest }} mode=0755
|
||||
with_items:
|
||||
- {file: runtests.sh, dest: runtests.sh }
|
||||
|
||||
- name: Test block
|
||||
block:
|
||||
- name: Execute the tests
|
||||
shell: |
|
||||
/tmp/runtests.sh &> /tmp/test.log && result=pass || result=fail
|
||||
echo -e "results:\n- {result: $result, test: simple}" > /tmp/results.yml
|
||||
|
||||
always:
|
||||
- name: Pull out the logs
|
||||
fetch:
|
||||
dest: "{{ artifacts }}/"
|
||||
src: "{{ item }}"
|
||||
flat: yes
|
||||
with_items:
|
||||
- /tmp/test.log
|
||||
- /tmp/results.yml
|
Loading…
Reference in New Issue
Block a user