Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locate command inside the containers #452

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .config/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ libera
libonig
microdnf
mknod
mlocate
modifyitems
netcommon
opencontainers
Expand Down
1 change: 1 addition & 0 deletions devspaces/context/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dnf install -y -q \
git \
git-core \
libssh-devel \
mlocate \
ncurses \
openssh-clients \
podman \
Expand Down
1 change: 1 addition & 0 deletions final/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ zsh \
util-linux-user \
which \
git \
mlocate \
nano \
vim \
dumb-init \
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def send_and_wait(self, cmd: str, wait_for: str, timeout: float = 3.0) -> list[s
def exit(self) -> None:
"""Exit the tmux session."""
if any("ansible-navigator" in cmd for cmd in self.cmds):
self.send_and_wait(cmd=":q", wait_for="workdir")
self.send_and_wait(cmd=":q", wait_for="workdir", timeout=6)
self.send_and_wait(cmd="exit", wait_for="")


Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def test_container_in_container(
@pytest.mark.parametrize(
("app", "command"),
(
pytest.param("locate", None, id="locate"),
pytest.param("nano", None, id="nano"),
pytest.param("tar", None, id="tar"),
pytest.param("vi", None, id="vi"),
Expand Down
Loading