add liburing gating tests for rhel10
This commit is contained in:
parent
f2bafb6e2d
commit
08c1e3cce7
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
3
tests/sanity/run_test.sh
Executable file
3
tests/sanity/run_test.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
gcc -o uring uring.c -luring
|
||||
9
tests/sanity/uring.c
Normal file
9
tests/sanity/uring.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <liburing.h>
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
struct io_uring ring;
|
||||
|
||||
return io_uring_queue_init(1, &ring, 0);
|
||||
}
|
||||
14
tests/tests.yml
Normal file
14
tests/tests.yml
Normal file
@ -0,0 +1,14 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- atomic
|
||||
- classic
|
||||
tests:
|
||||
- sanity:
|
||||
dir: sanity/
|
||||
run: run_test.sh
|
||||
required_packages:
|
||||
- liburing-devel
|
||||
- gcc
|
||||
- glibc-devel
|
||||
Loading…
Reference in New Issue
Block a user