Add gating tests
The prior patch to add the gating configuration didn't actually add the tests. Pull them in from RHEL 8. Related: rhbz#1989278
This commit is contained in:
parent
9c6a438a32
commit
be92be7bee
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