Skip to content

Instantly share code, notes, and snippets.

@eam
Created January 1, 2019 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eam/c052e46522d2ad10d1bec8dd054d7796 to your computer and use it in GitHub Desktop.
Save eam/c052e46522d2ad10d1bec8dd054d7796 to your computer and use it in GitHub Desktop.
it 'fstab mountpoints have correct options' do
expect(fstab_file.lines).to be_all { |line|
line !~ /ext[234]/ or
line =~ /ext[234].*errors=panic/
}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment