mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 05:35:00 +00:00
test: test for configure/start
This commit is contained in:
18
docker-compose/setup-script/tests/expects/configure/start.sh
Normal file
18
docker-compose/setup-script/tests/expects/configure/start.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
# Configure timeout for each expect command
|
||||
set timeout 10
|
||||
|
||||
# Start your main script
|
||||
spawn bash ../../noco.sh
|
||||
|
||||
expect "Do you want to reinstall NocoDB*"
|
||||
send "N\r"
|
||||
|
||||
expect "Enter your choice: "
|
||||
send "1\r"
|
||||
|
||||
expect "Enter your choice: "
|
||||
send "0\r"
|
||||
|
||||
expect EOF
|
||||
Reference in New Issue
Block a user