xref: /third_party/ltp/runtest/ipc (revision f08c3bdf)
1f08c3bdfSopenharmony_ci#DESCRIPTION:Interprocess communication stress
2f08c3bdfSopenharmony_ci# These tests use tests/pipeio to put pipes (named or unnamed) through a workout
3f08c3bdfSopenharmony_ci#
4f08c3bdfSopenharmony_cipipeio_1 pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80
5f08c3bdfSopenharmony_ci# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
6f08c3bdfSopenharmony_ci# using blocking I/O
7f08c3bdfSopenharmony_ci#pipeio_2 pipeio -T pipeio_2 -c 5 -s 4090 -i 100 -f x80
8f08c3bdfSopenharmony_ci# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
9f08c3bdfSopenharmony_ci# using non-blocking I/O
10f08c3bdfSopenharmony_ci# This test hits EAGAIN, which pipeio doesn't handle at the moment
11f08c3bdfSopenharmony_cipipeio_3 pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80
12f08c3bdfSopenharmony_ci# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
13f08c3bdfSopenharmony_ci# using blocking I/O
14f08c3bdfSopenharmony_cipipeio_4 pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80
15f08c3bdfSopenharmony_ci# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
16f08c3bdfSopenharmony_ci# using non-blocking I/O
17f08c3bdfSopenharmony_cipipeio_5 pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80
18f08c3bdfSopenharmony_ci# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
19f08c3bdfSopenharmony_ci# using blocking I/O
20f08c3bdfSopenharmony_cipipeio_6 pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80
21f08c3bdfSopenharmony_ci# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
22f08c3bdfSopenharmony_ci# using blocking I/O
23f08c3bdfSopenharmony_ci#pipeio_7 pipeio -T pipeio_7 -c 5 -s 5000 -i 10 -f x80
24f08c3bdfSopenharmony_ci# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
25f08c3bdfSopenharmony_ci# using non-blocking I/O
26f08c3bdfSopenharmony_ci# This test hits EAGAIN, which pipeio doesn't handle at the moment
27f08c3bdfSopenharmony_cipipeio_8 pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80
28f08c3bdfSopenharmony_ci# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
29f08c3bdfSopenharmony_ci# using non-blocking I/O
30f08c3bdfSopenharmony_ci
31