test: test for monitoring

This commit is contained in:
Rohit T P
2024-05-02 13:05:10 +00:00
parent 8882e0dfe4
commit f139003e2f
2 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/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 "7\r"
send \x03
expect "Enter your choice: "
send "0\r"
expect EOF