Skip to content

Commit

Permalink
Create test-one-liner.rec
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel_Shilin committed Nov 22, 2023
1 parent c9af504 commit c2c46a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Empty file added .patterns
Empty file.
18 changes: 18 additions & 0 deletions clt_tests/tests/test-one-liner.rec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
––– block: ./base/init –––
––– input –––
docker run -e EXTRA=1 --name manticore --rm -d manticoresearch/manticore:dev && echo "Waiting for Manticore docker to start. Consider mapping the data_dir to make it start faster next time" && until docker logs manticore 2>&1 | grep -q "accepting connections"; do sleep 1; echo -n .; done && echo && docker exec -it manticore mysql && docker stop manticore
––– output –––
––– input –––
sleep 5;docker logs manticore | grep "accepting connections"
––– output –––
accepting connections
––– input –––
docker exec manticore mysql -e "source /sandbox.sql"
––– output –––
––– input –––
mysql -e "SHOW TABLES\G;"
––– output –––
––– output –––
––– input –––
mysql -e "SELECT * FROM films\G;"
––– output –––

0 comments on commit c2c46a0

Please sign in to comment.