~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/tests/dejagnu/krb-standalone/gssftp.exp

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    set ftpd_pid [exp_pid]
52
52
 
53
53
    # Give the ftp daemon a few seconds to get set up.
54
 
    catch "exec sleep 2"
 
54
    sleep 2
55
55
}
56
56
 
57
57
# A procedure to stop the ftp daemon.
198
198
    start_ftp_daemon
199
199
 
200
200
    # Make an ftp client connection to it.
201
 
    spawn $FTP $hostname [expr 8 + $portbase]
 
201
    spawn $FTP -d -v $hostname [expr 8 + $portbase]
202
202
 
203
203
    expect_after {
204
204
        "GSSAPI authentication failed" {
206
206
            catch "expect_after"
207
207
            return
208
208
        }
 
209
        -re "--->.*" { exp_continue }
 
210
        -re "encoding \[0-9\]* bytes MIC \[a-zA-Z/+\]*" { exp_continue }
 
211
        -re "sealed \[A-Z()\]*" { exp_continue }
 
212
        -re "secure_command\[A-Z()\]*" { exp_continue }
209
213
        timeout {
210
214
            fail "$testname (timeout)"
211
215
            catch "expect_after"