summaryrefslogtreecommitdiffstats
path: root/tests/expected/ipcs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expected/ipcs')
-rw-r--r--tests/expected/ipcs/headers0
-rw-r--r--tests/expected/ipcs/headers-all-headers35
-rw-r--r--tests/expected/ipcs/headers-mesg-headers8
-rw-r--r--tests/expected/ipcs/headers-sem-headers6
-rw-r--r--tests/expected/ipcs/headers-shm-headers8
-rw-r--r--tests/expected/ipcs/limits7
-rw-r--r--tests/expected/ipcs/limits24
-rw-r--r--tests/expected/ipcs/mk-rm-msg3
-rw-r--r--tests/expected/ipcs/mk-rm-sem4
-rw-r--r--tests/expected/ipcs/mk-rm-shm4
10 files changed, 79 insertions, 0 deletions
diff --git a/tests/expected/ipcs/headers b/tests/expected/ipcs/headers
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/expected/ipcs/headers
diff --git a/tests/expected/ipcs/headers-all-headers b/tests/expected/ipcs/headers-all-headers
new file mode 100644
index 0000000..328a5e7
--- /dev/null
+++ b/tests/expected/ipcs/headers-all-headers
@@ -0,0 +1,35 @@
+------ Message Queues --------
+key msqid owner perms used-bytes messages
+--
+------ Shared Memory Segments --------
+key shmid owner perms bytes nattch status
+--
+------ Semaphore Arrays --------
+key semid owner perms nsems
+------ Message Queues Send/Recv/Change Times --------
+msqid owner send recv change
+--
+------ Shared Memory Attach/Detach/Change Times --------
+shmid owner attached detached changed
+--
+------ Semaphore Operation/Change Times --------
+semid owner last-op last-changed
+------ Message Queues PIDs --------
+msqid owner lspid lrpid
+--
+------ Shared Memory Creator/Last-op PIDs --------
+shmid owner cpid lpid
+------ Message Queues Creators/Owners --------
+msqid perms cuid cgid uid gid
+--
+------ Shared Memory Segment Creators/Owners --------
+shmid perms cuid cgid uid gid
+--
+------ Semaphore Arrays Creators/Owners --------
+semid perms cuid cgid uid gid
+------ Messages Limits --------
+------ Shared Memory Limits --------
+------ Semaphore Limits --------
+------ Messages Status --------
+------ Shared Memory Status --------
+------ Semaphore Status --------
diff --git a/tests/expected/ipcs/headers-mesg-headers b/tests/expected/ipcs/headers-mesg-headers
new file mode 100644
index 0000000..613c40a
--- /dev/null
+++ b/tests/expected/ipcs/headers-mesg-headers
@@ -0,0 +1,8 @@
+------ Message Queues Send/Recv/Change Times --------
+msqid owner send recv change
+------ Message Queues PIDs --------
+msqid owner lspid lrpid
+------ Message Queues Creators/Owners --------
+msqid perms cuid cgid uid gid
+------ Messages Limits --------
+------ Messages Status --------
diff --git a/tests/expected/ipcs/headers-sem-headers b/tests/expected/ipcs/headers-sem-headers
new file mode 100644
index 0000000..460586b
--- /dev/null
+++ b/tests/expected/ipcs/headers-sem-headers
@@ -0,0 +1,6 @@
+------ Semaphore Operation/Change Times --------
+semid owner last-op last-changed
+------ Semaphore Arrays Creators/Owners --------
+semid perms cuid cgid uid gid
+------ Semaphore Limits --------
+------ Semaphore Status --------
diff --git a/tests/expected/ipcs/headers-shm-headers b/tests/expected/ipcs/headers-shm-headers
new file mode 100644
index 0000000..84aeff6
--- /dev/null
+++ b/tests/expected/ipcs/headers-shm-headers
@@ -0,0 +1,8 @@
+------ Shared Memory Attach/Detach/Change Times --------
+shmid owner attached detached changed
+------ Shared Memory Creator/Last-op PIDs --------
+shmid owner cpid lpid
+------ Shared Memory Segment Creators/Owners --------
+shmid perms cuid cgid uid gid
+------ Shared Memory Limits --------
+------ Shared Memory Status --------
diff --git a/tests/expected/ipcs/limits b/tests/expected/ipcs/limits
new file mode 100644
index 0000000..a0ff457
--- /dev/null
+++ b/tests/expected/ipcs/limits
@@ -0,0 +1,7 @@
+load original values
+maximize kernel setting
+check for difference between kernel and IPC
+/proc/sys/kernel/shmmni OK
+/proc/sys/kernel/shmall OK
+/proc/sys/kernel/shmmax OK
+write original values to kernel
diff --git a/tests/expected/ipcs/limits2 b/tests/expected/ipcs/limits2
new file mode 100644
index 0000000..28454e3
--- /dev/null
+++ b/tests/expected/ipcs/limits2
@@ -0,0 +1,4 @@
+check for difference between kernel and IPC
+/proc/sys/kernel/shmmni OK
+/proc/sys/kernel/shmall OK
+/proc/sys/kernel/shmmax OK
diff --git a/tests/expected/ipcs/mk-rm-msg b/tests/expected/ipcs/mk-rm-msg
new file mode 100644
index 0000000..a913bc3
--- /dev/null
+++ b/tests/expected/ipcs/mk-rm-msg
@@ -0,0 +1,3 @@
+Message queue id: <was_number>
+1
+Message queue id: <was_number>
diff --git a/tests/expected/ipcs/mk-rm-sem b/tests/expected/ipcs/mk-rm-sem
new file mode 100644
index 0000000..da2c7cd
--- /dev/null
+++ b/tests/expected/ipcs/mk-rm-sem
@@ -0,0 +1,4 @@
+Semaphore id: <was_number>
+nsems = 1
+Semaphore id: <was_number>
+nsems = 2
diff --git a/tests/expected/ipcs/mk-rm-shm b/tests/expected/ipcs/mk-rm-shm
new file mode 100644
index 0000000..c63ab46
--- /dev/null
+++ b/tests/expected/ipcs/mk-rm-shm
@@ -0,0 +1,4 @@
+Shared memory id: <was_number>
+bytes=1
+Shared memory id: <was_number>
+bytes=12