<commit_before>require 'spec_helper'

describe file('/opt/init-wrapper') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/sbin') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/sbin/init') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/post-init.d') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/pre-init.d') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/pre-init.d/01-git-config') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/02-reset-sshd-keys') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/03-adduser') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/04-chpass-and-sshkey') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/05-aptline') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/10-save-env') do
  it { should be_executable }
end
<commit_msg>updated spec for baseimage<commit_after>require 'spec_helper'

describe file('/opt/init-wrapper') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/sbin') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/sbin/init') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/post-init.d') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/pre-init.d') do
  it { should be_directory }
end

describe file('/opt/init-wrapper/pre-init.d/01-git-config') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/02-reset-sshd-keys') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/03-adduser') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/04-chpass-and-sshkey') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/05-aptline') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/06-remove-unnecessary-files') do
  it { should be_executable }
end

describe file('/opt/init-wrapper/pre-init.d/10-save-env') do
  it { should be_executable }
end

{'fraction_non_alphanumeric': 0.14240362811791382, 'fraction_numerical': 0.011791383219954649, 'mean_word_length': 3.902222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1994260', 'n_tokens_mistral': 828, 'n_tokens_neox': 787, 'n_words': 168}