Attempted linux test
This commit is contained in:
		
							parent
							
								
									47bf7b8a8a
								
							
						
					
					
						commit
						683bcd92b0
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user