diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:42:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:42:50 +0000 |
commit | 8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 (patch) | |
tree | a9b2e7baeca1be40eb734371e3c8b11b02294497 /tests/expected/ipcs | |
parent | Initial commit. (diff) | |
download | util-linux-8cb83eee5a58b1fad74c34094ce3afb9e430b5a4.tar.xz util-linux-8cb83eee5a58b1fad74c34094ce3afb9e430b5a4.zip |
Adding upstream version 2.33.1.upstream/2.33.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/expected/ipcs')
-rw-r--r-- | tests/expected/ipcs/headers | 64 | ||||
-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 |
6 files changed, 86 insertions, 0 deletions
diff --git a/tests/expected/ipcs/headers b/tests/expected/ipcs/headers new file mode 100644 index 0000000..fab8fef --- /dev/null +++ b/tests/expected/ipcs/headers @@ -0,0 +1,64 @@ +test: shm headers +------ 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 -------- + +test: mesg headers +------ 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 -------- + +test: sem headers +------ Semaphore Operation/Change Times -------- +semid owner last-op last-changed +------ Semaphore Arrays Creators/Owners -------- +semid perms cuid cgid uid gid +------ Semaphore Limits -------- +------ Semaphore Status -------- + +test: all headers +------ 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/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 |