RFE: Add possibility to add cleanup events (from postgresql)

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
shell
Domain
testing-qa

Research direction

Start by comparing the PostgreSQL test's add_cleanup_command function in test/run_test with the shared test-lib.sh. Move the cleanup-event capability into test-lib.sh so other container image tests can use it, then verify the existing PostgreSQL test and shared test behavior.

Written by the indexing model from the issue text.

Description

The test for the PostgreSQL container includes a nice function add_cleanup_command that allows to extend the default cleanup action. It would be good to have this function in the test-lib.sh so we can use it in other container images tests as well:
https://github.com/sclorg/postgresql-container/blob/1cbbb075/test/run_test#L48-L58

Dominant language
Shell
Stars
25
Forks
45
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from sclorg/container-common-scripts

All issues in sclorg/container-common-scripts

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.