Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bezbac committed Jan 7, 2025
1 parent 20d40f9 commit df8cc7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ RUN apt update
# Install curl
RUN apt install curl -y

# Install expect
RUN apt install expect -y

# Install zsh
RUN apt install zsh -y
RUN chsh -s $(which zsh)
Expand Down
3 changes: 3 additions & 0 deletions tests/expect.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/expect

spawn "/bin/zellij attach -c main"
4 changes: 2 additions & 2 deletions tests/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ cargo build --release
cd ..
docker build -t zellij:test -f ./tests/Dockerfile .

# Run the docker image in interactive mode
docker run -it zellij:test
# Run the expect script inside the docker container
docker run -v ./tests/expect.sh:/expect.sh -t zellij:test -c "/expect.sh"

0 comments on commit df8cc7c

Please sign in to comment.