mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-26 16:45:47 +00:00
test: test for restart and upgrade
This commit is contained in:
18
docker-compose/setup-script/tests/expects/configure/restart.sh
Executable file
18
docker-compose/setup-script/tests/expects/configure/restart.sh
Executable 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 "4\r"
|
||||
|
||||
expect "Enter your choice: "
|
||||
send "0\r"
|
||||
|
||||
expect EOF
|
||||
Reference in New Issue
Block a user