Change testing directory structure

This commit is contained in:
Bruno Sutic
2014-07-17 22:51:07 +02:00
parent 9887bbe411
commit b92d086853
8 changed files with 3 additions and 20 deletions

View File

@@ -0,0 +1,35 @@
#!/usr/bin/env expect
# disables script output
log_user 0
spawn tmux
# Waiting for tmux to attach. If this is not done, next command, `send` will
# not work properly.
sleep 1
# this is tmux prefix + I
send "I"
# cloning might take a while
set timeout 15
expect {
"Downloading bruno-/tmux_example_plugin" {
expect {
"bruno-/tmux_example_plugin download success" {
expect { "Done, press ENTER to continue" { exit } }
}
}
}
timeout {
puts "Plugin update timeout";
exit 1
}
}