Initial commit
This commit is contained in:
BIN
roles/ontic.fonts/tests/fonts/Aulyars.otf
Executable file
BIN
roles/ontic.fonts/tests/fonts/Aulyars.otf
Executable file
Binary file not shown.
BIN
roles/ontic.fonts/tests/fonts/Fabulous.ttf
Executable file
BIN
roles/ontic.fonts/tests/fonts/Fabulous.ttf
Executable file
Binary file not shown.
6
roles/ontic.fonts/tests/test-verify.sh
Executable file
6
roles/ontic.fonts/tests/test-verify.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Ontic. (http://www.ontic.com.au). All rights reserved.
|
||||
# See the COPYING file bundled with this package for license details.
|
||||
|
||||
# Verify the installed fonts.
|
||||
docker exec --tty ${container_id} env TERM=xterm fc-list | grep true | sed -e "s|^.*/||" -e "s/:style=\(\<.*\>\).*$/ - \1/" -e "s/,.*$//" | sort
|
||||
18
roles/ontic.fonts/tests/test.yml
Executable file
18
roles/ontic.fonts/tests/test.yml
Executable file
@@ -0,0 +1,18 @@
|
||||
# Copyright (c) Ontic. (http://www.ontic.com.au). All rights reserved.
|
||||
# See the COPYING file bundled with this package for license details.
|
||||
|
||||
---
|
||||
|
||||
- hosts: 'localhost'
|
||||
vars:
|
||||
fonts_shared:
|
||||
- type: 'truetype'
|
||||
src: '{{ role_path }}/tests/fonts/Fabulous.ttf'
|
||||
dest: 'dafont/Fabulous.ttf'
|
||||
fonts_user:
|
||||
- name: 'root'
|
||||
type: 'opentype'
|
||||
src: '{{ role_path }}/tests/fonts/Aulyars.otf'
|
||||
dest: 'dafont/Aulyars.otf'
|
||||
roles:
|
||||
- { role: 'role_under_test' }
|
||||
Reference in New Issue
Block a user