Second try at objdump call for linux
This commit is contained in:
parent
f930dd58a0
commit
19a66e75c4
@ -83,7 +83,7 @@ describe "brew install" do
|
|||||||
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file
|
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file
|
||||||
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test.dSYM").to be_a_directory if OS.mac?
|
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test.dSYM").to be_a_directory if OS.mac?
|
||||||
if OS.linux?
|
if OS.linux?
|
||||||
expect { system_command("objdump", "-h", "${HOMEBREW_CELLAR}/testball1/0.1/bin/test") }
|
expect { system_command("objdump", args: ["-h", "${HOMEBREW_CELLAR}/testball1/0.1/bin/test"]) }
|
||||||
.to output(/\.debug/).to_stdout
|
.to output(/\.debug/).to_stdout
|
||||||
end
|
end
|
||||||
expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory
|
expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user