Resurrect restore test and updates

This commit is contained in:
Bruno Sutic
2015-02-22 21:53:33 +01:00
parent 66916085d9
commit 9cabda7c71
6 changed files with 92 additions and 11 deletions

View File

@ -0,0 +1,18 @@
#!/usr/bin/env expect
source "./tests/helpers/expect_helpers.exp"
expect_setup
spawn tmux
# delay with sleep to compensate for tmux starting time
sleep 1
start_resurrect_restore
# delete all existing resurrect save files
run_shell_command "rm ~/.tmux/resurrect/*"
start_resurrect_save
run_shell_command "tmux kill-server"