* tests/readahead.c: New file.
* tests/readahead.test: New test.
* tests/.gitignore: Add readahead.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add readahead.test.
---
Changes since v2:
* Added workaround for an old glibc bug
(https://sourceware.org/bugzilla/show_bug.cgi?
* tests/readahead.c: New file.
* tests/readahead.test: New test.
* tests/.gitignore: Add readahead.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add readahead.test.
---
Changes from v3:
* Scraping incorrect attempt to work around glibc bug, now just skipping
the test.
te
Hello.
This is quite inconsistent collection of patches for various decoder
test in attempt to make them more thorough.
Eugene Syromyatnikov (9):
tests: check decoding of perf_event_open syscall
tests: Use sprintrc for return code output in sched_xetscheduler test
tests: Additional decoder
* tests/perf_event_open.c: New file.
* tests/perf_event_open.test: New test.
* tests/.gitignore: Add perf_event_open.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add perf_event_open.test.
---
tests/.gitignore |1 +
tests/Makefile.am |2 ++
tests/pe
Some additional syscall parser tests:
* Incorrect (negative) PID in sched_getscheduler, sched_setscheduler
* Incorrect address of sched_param structure.
* Incorrect policy value.
* tests/sched_xetscheduler.c: additional tests.
---
tests/sched_xetscheduler.c | 19 +++
1 file c
* tests/sched_rr_get_interval.c: Use sprintrc for return code output.
---
tests/sched_rr_get_interval.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/sched_rr_get_interval.c b/tests/sched_rr_get_interval.c
index 8501346..73e2d39 100644
--- a/tests/sched_rr_get_inte
Some additional syscall parser tests:
* Incorrect timespec pointer.
* Successful call.
* tests/sched_rr_get_interval.c: Additional tests.
---
tests/sched_rr_get_interval.c | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/tests/sched_rr_get_interval.c
struct iocb contains two fields with fd semantics: aio_fildes and
aio_resfd. It is quite reasonable to use appropriate function for
printing them (apart from just "%d").
* aio.c (print_common_flags): Add struct tcb pointer to parameter list;
use printfd for printing aio_resfd field.
(print_ioc
* aio.c: Additional checks added.
---
tests/aio.c | 108 +++
1 file changed, 108 insertions(+)
diff --git a/tests/aio.c b/tests/aio.c
index 8c5bfa7..00de5ae 100644
--- a/tests/aio.c
+++ b/tests/aio.c
@@ -111,6 +111,33 @@ main(void)
* tests/aio.c: Use sprintrc for return code output.
---
tests/aio.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/aio.c b/tests/aio.c
index a6a3b9c..5a023cf 100644
--- a/tests/aio.c
+++ b/tests/aio.c
@@ -147,8 +147,8 @@ main(void)
printf("io_setup(%u,
* tests/sched_xetscheduler.c: Use sprintrc for return code output.
---
tests/sched_xetscheduler.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/sched_xetscheduler.c b/tests/sched_xetscheduler.c
index d3b7759..ffb3307 100644
--- a/tests/sched_xetscheduler.c
+++ b/
* aio.c (main): change output format for min_nr and nr arguments in
io_getevents check to %ld, cast arguments to long.
---
tests/aio.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/aio.c b/tests/aio.c
index 5a023cf..8c5bfa7 100644
--- a/tests/aio.c
+++ b/tests/
12 matches
Mail list logo