Revision bfb56004 examples/test/test_baresshd.py

View differences:

examples/test/test_baresshd.py
29 29
        # verify that sshd is not running
30 30
        self.assertFalse( self.connected() )
31 31
        # create public key pair for testing
32
        sh( 'rm -rf /tmp/ssh' )
32 33
        sh( 'mkdir /tmp/ssh' )
33 34
        sh( "ssh-keygen -t rsa -P '' -f /tmp/ssh/test_rsa" )
34 35
        sh( 'cat /tmp/ssh/test_rsa.pub >> /tmp/ssh/authorized_keys' )

Also available in: Unified diff