From 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:35 +0200 Subject: Adding upstream version 2.38.1. Signed-off-by: Daniel Baumann --- tests/expected/lsfd/column-kthread | 6 ++++++ tests/expected/lsfd/mkfds-directory | 12 ++++++++++++ tests/expected/lsfd/mkfds-pipe-no-fork | 9 +++++++++ tests/expected/lsfd/mkfds-ro-block-device | 13 +++++++++++++ tests/expected/lsfd/mkfds-ro-regular-file | 15 +++++++++++++++ tests/expected/lsfd/mkfds-rw-character-device | 5 +++++ tests/expected/lsfd/mkfds-socketpair | 3 +++ tests/expected/lsfd/mkfds-symlink | 2 ++ tests/expected/lsfd/option-filter-broken-exp | 7 +++++++ tests/expected/lsfd/option-pid | 13 +++++++++++++ tests/expected/lsfd/option-summary | 3 +++ 11 files changed, 88 insertions(+) create mode 100644 tests/expected/lsfd/column-kthread create mode 100644 tests/expected/lsfd/mkfds-directory create mode 100644 tests/expected/lsfd/mkfds-pipe-no-fork create mode 100644 tests/expected/lsfd/mkfds-ro-block-device create mode 100644 tests/expected/lsfd/mkfds-ro-regular-file create mode 100644 tests/expected/lsfd/mkfds-rw-character-device create mode 100644 tests/expected/lsfd/mkfds-socketpair create mode 100644 tests/expected/lsfd/mkfds-symlink create mode 100644 tests/expected/lsfd/option-filter-broken-exp create mode 100644 tests/expected/lsfd/option-pid create mode 100644 tests/expected/lsfd/option-summary (limited to 'tests/expected/lsfd') diff --git a/tests/expected/lsfd/column-kthread b/tests/expected/lsfd/column-kthread new file mode 100644 index 0000000..db81a93 --- /dev/null +++ b/tests/expected/lsfd/column-kthread @@ -0,0 +1,6 @@ +COMMAND PID USER MODE TYPE NAME KTHREAD +systemd 1 root --- DIR / 0 +systemd 1 root --- DIR / 0 +kthreadd 2 root --- DIR / 1 +kthreadd 2 root --- DIR / 1 +0 diff --git a/tests/expected/lsfd/mkfds-directory b/tests/expected/lsfd/mkfds-directory new file mode 100644 index 0000000..a1d0aac --- /dev/null +++ b/tests/expected/lsfd/mkfds-directory @@ -0,0 +1,12 @@ + 3 r-- DIR directory,_tmpfile / +ASSOC,MODE,TYPE,FLAGS,NAME: 0 +PID[RUN]: 0 +PID[STR]: 0 +INODE[RUN]: 0 +INODE[STR]: 0 +UID[RUN]: 0 +UID[STR]: 0 +USER[RUN]: 0 +USER[STR]: 0 +NLINK[RUN]: 0 +NLINK[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-pipe-no-fork b/tests/expected/lsfd/mkfds-pipe-no-fork new file mode 100644 index 0000000..146a618 --- /dev/null +++ b/tests/expected/lsfd/mkfds-pipe-no-fork @@ -0,0 +1,9 @@ + 3 r-- FIFO pipefs + 4 -w- FIFO pipefs wronly,nonblock +ASSOC,MODE,TYPE,SOURCE,FLAGS: 0 +PID[RUN]: 0 +PID[STR]: 0 +NAMES[RUN]: 0 +NAMES[STR]: 0 +INODES[RUN]: 0 +INODES[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-ro-block-device b/tests/expected/lsfd/mkfds-ro-block-device new file mode 100644 index 0000000..3b2fe07 --- /dev/null +++ b/tests/expected/lsfd/mkfds-ro-block-device @@ -0,0 +1,13 @@ + 3 r-- BLK 0 loop blk +ASSOC,MODE,TYPE,,POS,,BLKDRV,DEVTYPE: 0 +NAME[RUN]: 0 +NAME[STR]: 0 +SOURCE[RUN]: 0 +SOURCE[STR]: 0 +MAJ_MIN[RUN]: 0 +MAJ_MIN[STR]: 0 +RDEV[RUN]: 0 +RDEV[STR]: 0 +DEV[RUN]: 0 +STAT[RUN]: 0 +DEVNUM[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-ro-regular-file b/tests/expected/lsfd/mkfds-ro-regular-file new file mode 100644 index 0000000..092f40b --- /dev/null +++ b/tests/expected/lsfd/mkfds-ro-regular-file @@ -0,0 +1,15 @@ +ABC 3 r-- REG /etc/passwd 1 +COMMAND,ASSOC,MODE,TYPE,NAME,POS: 0 +PID[RUN]: 0 +PID[STR]: 0 +INODE[RUN]: 0 +INODE[STR]: 0 +UID[RUN]: 0 +UID[STR]: 0 +USER[RUN]: 0 +USER[STR]: 0 +SIZE[RUN]: 0 +SIZE[STR]: 0 +DEV[RUN]: 0 +STAT[RUN]: 0 +DEVNUM[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-rw-character-device b/tests/expected/lsfd/mkfds-rw-character-device new file mode 100644 index 0000000..00423f4 --- /dev/null +++ b/tests/expected/lsfd/mkfds-rw-character-device @@ -0,0 +1,5 @@ + 3 rw- CHR /dev/zero mem:5 0 1:5 mem char 1:5 +ASSOC,MODE,TYPE,NAME,SOURCE,POS,MAJ:MIN,CHRDRV,DEVTYPE,RDEV: 0 +DEV[RUN]: 0 +STAT[RUN]: 0 +DEVNUM[STR]: 0 diff --git a/tests/expected/lsfd/mkfds-socketpair b/tests/expected/lsfd/mkfds-socketpair new file mode 100644 index 0000000..b2c9597 --- /dev/null +++ b/tests/expected/lsfd/mkfds-socketpair @@ -0,0 +1,3 @@ + 3 rw- SOCK sockfs UNIX + 4 rw- SOCK sockfs UNIX +ASSOC,MODE,TYPE,SOURCE,PROTONAME: 0 diff --git a/tests/expected/lsfd/mkfds-symlink b/tests/expected/lsfd/mkfds-symlink new file mode 100644 index 0000000..5c91bbc --- /dev/null +++ b/tests/expected/lsfd/mkfds-symlink @@ -0,0 +1,2 @@ + 3 --- LINK /dev/stdin path +ASSOC,MODE,TYPE,NAME,FLAGS: 0 diff --git a/tests/expected/lsfd/option-filter-broken-exp b/tests/expected/lsfd/option-filter-broken-exp new file mode 100644 index 0000000..8c14f22 --- /dev/null +++ b/tests/expected/lsfd/option-filter-broken-exp @@ -0,0 +1,7 @@ +lsfd: error: empty filter expression +lsfd: error: empty filter expression +lsfd: error: unbalanced parenthesis: ) +lsfd: error: unexpected token: garbage after OP2 +lsfd: error: bool expression is expected: FD +lsfd: unknown column: NOSUCHCOLUMN +lsfd: error: no such column: NOSUCHCOLUMN diff --git a/tests/expected/lsfd/option-pid b/tests/expected/lsfd/option-pid new file mode 100644 index 0000000..f05aa57 --- /dev/null +++ b/tests/expected/lsfd/option-pid @@ -0,0 +1,13 @@ +QOUT: 0 +POUT[--pid=1 PID]: 0 +EQ[--pid=1 PID]: 0 +POUT[--pid=PID 1]: 0 +EQ[--pid=PID 1]: 0 +POUT[--pid=1,PID]: 0 +EQ[--pid=1,PID]: 0 +POUT[--pid=PID,1]: 0 +EQ[--pid=PID,1]: 0 +POUT[-p 1 --pid=PID]: 0 +EQ[-p 1 --pid=PID]: 0 +POUT[-p PID --pid=1]: 0 +EQ[-p PID --pid=1]: 0 diff --git a/tests/expected/lsfd/option-summary b/tests/expected/lsfd/option-summary new file mode 100644 index 0000000..4e96f55 --- /dev/null +++ b/tests/expected/lsfd/option-summary @@ -0,0 +1,3 @@ + 10 GROUP + 3 PASSWD + 13 PROC -- cgit v1.2.3