Skip to content

Commit

Permalink
Fix hostname in manticore.conf.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
djklim87 committed Jan 4, 2024
1 parent be94a25 commit c2359b8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions clt_tests/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ To ensure the robustness of our Docker commands within the image, we generate th
docker run -e EXTRA=1 --name manticore --rm -d manticoresearch/manticore:current
```
This command will help you launch and manage the Manticore image with the necessary environment variables.

## Run test example

```bash
docker build -t manticoresoftware/manticore-docker-test-kit:latest ./clt_tests/testkit/
RUN_ARGS="-v $(pwd):/docker --privileged" clt test -d -t ./clt_tests/tests/simple.rec manticoresoftware/manticore-docker-test-kit:latest
```
13 changes: 13 additions & 0 deletions clt_tests/tests/simple-with-network-host.rec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
––– block: ./base/init –––
––– input –––
docker run --rm --name=manticore --network=host --quiet -d manticoresoftware/manticore:current
––– output –––
#!/[0-9a-z]+/!#
––– input –––
sleep 5;docker logs manticore | grep "accepting connections"
––– output –––
accepting connections
––– input –––
docker stop manticore
––– output –––
#!/[0-9a-z]+/!#

0 comments on commit c2359b8

Please sign in to comment.