Add a gating test
This commit is contained in:
parent
fbec83a0fd
commit
b735628a74
6
gating.yaml
Executable file
6
gating.yaml
Executable file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -132,6 +132,7 @@ popd
|
||||
* Mon Apr 22 2024 Richard W.M. Jones <rjones@redhat.com> - 10.0-1
|
||||
- Import package into CentOS Stream 10
|
||||
- Remove resolves refs to work around check-gitbz bug (RHELBLD-14966)
|
||||
- Add gating tests
|
||||
|
||||
* Thu Aug 31 2023 Richard W.M. Jones <rjones@redhat.com> - 9.3-1
|
||||
- Rebase to ntfs-3g 2022.10.3
|
||||
|
15
tests/basic-test.sh
Executable file
15
tests/basic-test.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash -
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Create an NTFS filesystem and mount.
|
||||
guestfish -vx <<EOF
|
||||
set-program "virt-foo"
|
||||
sparse test.img 1G
|
||||
run
|
||||
part-disk /dev/sda mbr
|
||||
mkfs ntfs /dev/sda1
|
||||
mount /dev/sda1 /
|
||||
touch /tested
|
||||
umount-all
|
||||
EOF
|
12
tests/tests.yml
Executable file
12
tests/tests.yml
Executable file
@ -0,0 +1,12 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
required_packages:
|
||||
- libguestfs-winsupport
|
||||
- libguestfs
|
||||
tests:
|
||||
- simple:
|
||||
dir: .
|
||||
run: ./basic-test.sh
|
Loading…
Reference in New Issue
Block a user