test: test for configure/stop

This commit is contained in:
Rohit T P
2024-05-02 12:46:03 +00:00
parent 0e9c96ab02
commit 6610f30213
3 changed files with 45 additions and 0 deletions

View File

View 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 "2\r"
expect "Enter your choice: "
send "0\r"
expect EOF