<commit_before>{pkgs, ...}:

{
  nodes = {
  
    server = 
      {pkgs, config, ...}:
      
      {
        services.openssh.enable = true;
      };
      
    client = 
      {pkgs, config, ...}:
      
      {
      };
  };
  
  testScript =
  ''
    my $key=`${pkgs.openssh}/bin/ssh-keygen -t dsa -f key -N ""`;
    
    $server->mustSucceed("mkdir -m 700 /root/.ssh");<commit_msg>* No wonder the OpenSSH test was so unreliable: it didn't wait for the   sshd Upstart job to finish.<commit_after>{ pkgs, ... }:

{
  nodes = {
  
    server = 
      { config, pkgs, ... }:
      
      {
        services.openssh.enable = true;
      };
      
    client = 
      { config, pkgs, ... }: { };
      
  };
  
  testScript = ''
    startAll;
    
    my $key=`${pkgs.openssh}/bin/ssh-keygen -t dsa -f key -N ""`;

    $server->waitForJob("sshd");
    
    $server->mustSucceed("mkdir -m 700 /root/.ssh");
{'fraction_non_alphanumeric': 0.18030973451327434, 'fraction_numerical': 0.00663716814159292, 'mean_word_length': 1.5208913649025069, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2924775', 'n_tokens_mistral': 359, 'n_tokens_neox': 331, 'n_words': 64}