Give sshd startup 5 more seconds.
authorMichael Prokop <mika@grml.org>
Mon, 17 May 2010 11:05:05 +0000 (13:05 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 17 May 2010 11:05:05 +0000 (13:05 +0200)
autoconfig/unit_tests/sshd.sh

index 71e01aa..01c9d43 100644 (file)
@@ -9,6 +9,9 @@ oneTimeSetUp() {
     . /etc/grml/autoconfig.functions
     PATH=$OLDPATH
     config_ssh
+    # as /etc/init.d/ssh is started in background
+    # at least try to give it some more time
+    sleep 5
 }
 
 oneTimeTearDown() {