Test
This commit is contained in:
parent
e16cef2ed0
commit
ad442a0037
1 changed files with 13 additions and 9 deletions
|
|
@ -62,20 +62,24 @@ rlJournalStart
|
|||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "dnf -y install ncurses-term"
|
||||
|
||||
ls -l /dev/pts/2
|
||||
chmod 666 /dev/pts/2
|
||||
|
||||
# Vytvořit nové tmux sezení a spustit mutt
|
||||
tmux new-session -d -s mysession 'mutt -d 5'
|
||||
# tmux new-session -d -s mysession 'mutt -d 5'
|
||||
|
||||
# Čekat chvíli, aby se mutt spustil
|
||||
sleep 2
|
||||
# # Čekat chvíli, aby se mutt spustil
|
||||
# sleep 2
|
||||
|
||||
# Poslat klávesové vstupy do tmux sezení
|
||||
tmux send-keys -t mysession Enter 'qq'
|
||||
# # Poslat klávesové vstupy do tmux sezení
|
||||
# tmux send-keys -t mysession Enter 'qq'
|
||||
|
||||
# Čekat na dokončení mutt
|
||||
tmux wait-for -S mysession
|
||||
#lRun "chmod +x ./test.exp"
|
||||
#rlRun "./test.exp"
|
||||
# # Čekat na dokončení mutt
|
||||
# tmux wait-for -S mysession
|
||||
lRun "chmod +x ./test.exp"
|
||||
rlRun "./test.exp"
|
||||
# script -qfec 'expect -f ./mutt.exp'
|
||||
#rlRun "ls /dev" 0 "Get me tty list"
|
||||
#rlRun "cat typescript" 0 "Get me log"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue