Skip to content

Test parallel/test-setproctitle.js fails on alpine #12399

Closed
@tanuck

Description

@tanuck
  • Version: 7.9.0
  • Platform: Linux f3f027fe364c 4.4.41-boot2docker #1 SMP Wed Jan 11 03:05:24 UTC 2017 x86_64 Linux
  • Subsystem: process, tests

I've been trying to get the full testsuite to run while building a docker image based on FROM alpine:latest. The parallel/test-setproctitle.js seems to be the only failing test. Thats due to BusyBox ps doesn't support the -p switch. Installing procps package before compiling/testing solves this but could the test instead be refactored to remove this dependency? Using either /proc/[pid]/comm or /proc/[pid]/stat directly instead?

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for first-time contributors.processIssues and PRs related to the process subsystem.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions