summaryrefslogtreecommitdiffstats
path: root/tests/expected/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:10:49 +0000
commitcfe5e3905201349e9cf3f95d52ff4bd100bde37d (patch)
treed0baf160cbee3195249d095f85e52d20c21acf02 /tests/expected/lib
parentInitial commit. (diff)
downloadutil-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 'tests/expected/lib')
-rw-r--r--tests/expected/lib/procfs-one-process14
-rw-r--r--tests/expected/lib/procfs-stat-nth6
-rw-r--r--tests/expected/lib/procfs-stat-nth.err2
3 files changed, 22 insertions, 0 deletions
diff --git a/tests/expected/lib/procfs-one-process b/tests/expected/lib/procfs-one-process
new file mode 100644
index 0000000..db953c0
--- /dev/null
+++ b/tests/expected/lib/procfs-one-process
@@ -0,0 +1,14 @@
+1
+ UID: [redacted]
+ CMDLINE: './test'
+ COMM: 'test'
+2
+ UID: [redacted]
+ CMDLINE: './foo
+bar'
+ COMM: 'foo
+bar'
+3
+ UID: [redacted]
+ CMDLINE: './foo )bar'
+ COMM: 'foo )bar'
diff --git a/tests/expected/lib/procfs-stat-nth b/tests/expected/lib/procfs-stat-nth
new file mode 100644
index 0000000..7ed534a
--- /dev/null
+++ b/tests/expected/lib/procfs-stat-nth
@@ -0,0 +1,6 @@
+1: 1th 373850
+1: 4th 373752
+2: 1th 1583
+2: 4th 1165
+3: 1th 4102
+3: 4th 1165
diff --git a/tests/expected/lib/procfs-stat-nth.err b/tests/expected/lib/procfs-stat-nth.err
new file mode 100644
index 0000000..aff7b24
--- /dev/null
+++ b/tests/expected/lib/procfs-stat-nth.err
@@ -0,0 +1,2 @@
+test_procfs: read 2th number failed: Invalid argument
+test_procfs: read 3th number failed: Invalid argument