Skip to content

tests: (lsfd) add missing dup2 calls to assign proper file descriptors#1639

Merged
karelzak merged 1 commit intoutil-linux:masterfrom
masatake:lsfd-test-add-missing-dup2
Apr 4, 2022
Merged

tests: (lsfd) add missing dup2 calls to assign proper file descriptors#1639
karelzak merged 1 commit intoutil-linux:masterfrom
masatake:lsfd-test-add-missing-dup2

Conversation

@masatake
Copy link
Member

@masatake masatake commented Apr 3, 2022

Close #1637.

The test cases assumed the file descriptor #3 was not occupied. As
reported in #1637, the assumption was wrong. This new code assigns
the file descriptor #3 explicitly with dup2 as the other test cases
did.

Signed-off-by: Masatake YAMATO [email protected]

Close util-linux#1637.

The test cases assumed the file descriptor util-linux#3 was not occupied. As
reported in util-linux#1637, the assumption was wrong. This new code assigns
the file descriptor util-linux#3 explicitly with dup2 as the other test cases
did.

Signed-off-by: Masatake YAMATO <[email protected]>
@karelzak karelzak merged commit 9c2ab4c into util-linux:master Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

lsfd: 2.38 testsuite failure

2 participants