<commit_before>#include "config.h"

#include <stdlib.h>
#include <stdio.h>

#include <sys/types.h>
#include <pwd.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <stdbool.h>
#include <limits.h>
#include <security/pam_appl.h>

typedef struct {
   const char *user;
   const char *password;
   bool autologin;
} Pam_Config;

static void
check_user(const char *user)
{
   struct passwd *user_entry;

   user_entry = getpwnam(user);

   if (!user_entry)
     {
        printf("FATAL: Failed to find user %s\n", user);
     }
   else
     {
        printf("Users are looking good!\n");
     }<commit_msg>fail the test if the user is not there<commit_after>#include "config.h"

#include <stdlib.h>
#include <stdio.h>

#include <sys/types.h>
#include <pwd.h>
#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <stdbool.h>
#include <limits.h>
#include <security/pam_appl.h>

typedef struct {
   const char *user;
   const char *password;
   bool autologin;
} Pam_Config;

static void
check_user(const char *user)
{
   struct passwd *user_entry;

   user_entry = getpwnam(user);

   if (!user_entry)
     {
        printf("FATAL: Failed to find user %s\n", user);
        abort();
     }
   else
     {
        printf("Users are looking good!\n");
     }
{'fraction_non_alphanumeric': 0.1420807453416149, 'fraction_numerical': 0.0, 'mean_word_length': 3.2682119205298013, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '3906361', 'n_tokens_mistral': 497, 'n_tokens_neox': 482, 'n_words': 123}