blob: 7dff69fc9d23fdae9f3236cc5fcd712a409a2092 [file] [log] [blame]
#DESCRIPTION:Interprocess communication stress
# These tests use tests/pipeio to put pipes (named or unnamed) through a workout
#
pipeio_1 pipeio -c 5 -s 4090 -i 100 -b -f x80
# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
# using blocking I/O
#pipeio_2 pipeio -c 5 -s 4090 -i 100 -f x80
# spawns 5 children to write 100 chunks of 4090 bytes to a named pipe
# using non-blocking I/O
# This test hits EAGAIN, which pipeio doesn't handle at the moment
pipeio_3 pipeio -c 5 -s 4090 -i 100 -u -b -f x80
# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
# using blocking I/O
pipeio_4 pipeio -c 5 -s 4090 -i 100 -u -f x80
# spawns 5 children to write 100 chunks of 4090 bytes to an unnamed pipe
# using non-blocking I/O
pipeio_5 pipeio -c 5 -s 5000 -i 10 -b -f x80
# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
# using blocking I/O
pipeio_6 pipeio -c 5 -s 5000 -i 10 -b -u -f x80
# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
# using blocking I/O
#pipeio_7 pipeio -c 5 -s 5000 -i 10 -f x80
# spawns 5 children to write 10 chunks of 5000 bytes to a named pipe
# using non-blocking I/O
# This test hits EAGAIN, which pipeio doesn't handle at the moment
pipeio_8 pipeio -c 5 -s 5000 -i 10 -u -f x80
# spawns 5 children to write 10 chunks of 5000 bytes to an unnamed pipe
# using non-blocking I/O
sem01 sem01
sem02 sem02
# The following will test for POSIX compliant semaphore functions that are
# currently unimplemented in Linux.
#sem_close01 cd $LTPROOT/testcases/bin;sem_close01
#sem_getvalue01 cd $LTPROOT/testcases/bin;sem_getvalue01
#sem_open01 cd $LTPROOT/testcases/bin;sem_open01
#sem_post01 cd $LTPROOT/testcases/bin;sem_post01
#sem_unlink01 cd $LTPROOT/testcases/bin;sem_unlink01
#sem_wait01 cd $LTPROOT/testcases/bin;sem_wait01