Last active
August 29, 2015 14:07
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe command("env x='() { :;}; echo vulnerable' bash -c 'echo this is a test'") do | |
its(:exit_status) { is_expected.to eq 0 } | |
its(:stdout) { is_expected.not_to match(/vulnerable/) } | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment