Mozilla/mozilla/testing/sisyphus/bin/hdiutil-expect.ex
bclary%bclary.com 1afebde389 Land sisyphus, bug 383286, r=rcampbell
git-svn-id: svn://10.0.0.236/trunk@227870 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 15:46:43 +00:00

10 lines
126 B
Elixir
Executable File

#!/usr/bin/expect
spawn hdiutil attach $argv
expect {
"byte" {send "G"; exp_continue}
"Y/N" {send "Y\r"; exp_continue}
}