diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:10:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:10:49 +0000 |
commit | cfe5e3905201349e9cf3f95d52ff4bd100bde37d (patch) | |
tree | d0baf160cbee3195249d095f85e52d20c21acf02 /tests/expected/ipcs | |
parent | Initial commit. (diff) | |
download | util-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.tar.xz util-linux-cfe5e3905201349e9cf3f95d52ff4bd100bde37d.zip |
Adding upstream version 2.39.3.upstream/2.39.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/expected/ipcs/headers | 0 | ||||
-rw-r--r-- | tests/expected/ipcs/headers-all-headers | 35 | ||||
-rw-r--r-- | tests/expected/ipcs/headers-mesg-headers | 8 | ||||
-rw-r--r-- | tests/expected/ipcs/headers-sem-headers | 6 | ||||
-rw-r--r-- | tests/expected/ipcs/headers-shm-headers | 8 | ||||
-rw-r--r-- | tests/expected/ipcs/limits | 7 | ||||
-rw-r--r-- | tests/expected/ipcs/limits2 | 4 | ||||
-rw-r--r-- | tests/expected/ipcs/mk-rm-msg | 3 | ||||
-rw-r--r-- | tests/expected/ipcs/mk-rm-sem | 4 | ||||
-rw-r--r-- | tests/expected/ipcs/mk-rm-shm | 4 |
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 |