zopencommunity / zopencommunity/bashport

redir.tests and coproc.tests expects a /etc/passwd file to exist

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
Groovy
Stars
12
Forks
7
PR merge metrics
No merged PRs in 30d

Description

On z/OS, we don't have /etc/passwd, so I changed the test to look for /etc/hosts but that may not exist on some systems. Need to determine what file is likely to exist on various Unix-type systems

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the redir.tests and coproc.tests files and locate their assumptions about /etc/passwd or /etc/hosts. Determine which path is reliably available across the Unix-type systems covered by the project, then update both tests and verify that they pass without requiring a system-specific file.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.