test/bash_spec: ignore cc script
This commit is contained in:
parent
701904ad5c
commit
e224006b49
@ -48,6 +48,7 @@ describe "Bash" do
|
|||||||
next if path.directory?
|
next if path.directory?
|
||||||
next if path.symlink?
|
next if path.symlink?
|
||||||
next unless path.executable?
|
next unless path.executable?
|
||||||
|
next if path.basename.to_s == "cc" # `bash -n` tries to parse the Ruby part
|
||||||
next unless path.read(12) == "#!/bin/bash\n"
|
next unless path.read(12) == "#!/bin/bash\n"
|
||||||
|
|
||||||
expect(path).to have_valid_bash_syntax
|
expect(path).to have_valid_bash_syntax
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user