Test your websites with this simple GUI based scripted webtester. Generate simple testscripts directly from surfng on the webpage, enhance them with your commands, with variables, loops, checks, … and finally run automated web tests.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
326 B
15 lines
326 B
8 years ago
|
#!/usr/bin/expect -f
|
||
|
|
||
|
set key [lindex $argv 0]
|
||
|
set password [lindex $argv 1]
|
||
|
set files [lrange $argv 2 end]
|
||
|
|
||
|
### rpm-sign.exp -- Sign RPMs by sending the passphrase.
|
||
|
spawn rpmsign --define "_gpg_name $key" --addsign {*}$files
|
||
|
expect {
|
||
|
"Enter pass phrase: " {
|
||
|
send -- "$password\r"
|
||
|
exp_continue
|
||
|
} eof
|
||
|
}
|