diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index dbf9d6a358..e9b9949af0 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -82,6 +82,10 @@ describe "brew install" do .and be_a_success 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? + if OS.linux? + expect { system_command("objdump", "-h", "${HOMEBREW_CELLAR}/testball1/0.1/bin/test") } + .to output(%r{\.debug}).to_stdout + end expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory end end