add rm to sshd tests

This commit is contained in:
Brian O'Connor
2013-09-11 14:45:49 -07:00
parent c5da46f125
commit bfb560045c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ class testSSHD( unittest.TestCase ):
def setUp( self ):
# create public key pair for testing
sh( 'rm -rf /tmp/ssh' )
sh( 'mkdir /tmp/ssh' )
sh( "ssh-keygen -t rsa -P '' -f /tmp/ssh/test_rsa" )
sh( 'cat /tmp/ssh/test_rsa.pub >> /tmp/ssh/authorized_keys' )