diff options
Diffstat (limited to 'tests/expected/lib')
-rw-r--r-- | tests/expected/lib/procfs-one-process | 14 | ||||
-rw-r--r-- | tests/expected/lib/procfs-stat-nth | 6 | ||||
-rw-r--r-- | tests/expected/lib/procfs-stat-nth.err | 2 |
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 |