diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index 52eb47cce1..7a9819dfaa 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -664,6 +664,8 @@ module Homebrew tests_args << "--coverage" if ENV["TRAVIS"] end test "brew", "tests", *tests_args + test "brew", "tests", "--generic", "--only=integration_cmds", + *tests_args test "brew", "tests", "--no-compat" test "brew", "readall", "--syntax" else diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index 9353ce5f92..642fadf5f0 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -358,7 +358,7 @@ class IntegrationCommandTests < Homebrew::TestCase def test_sh assert_match "Your shell has been configured", - cmd("sh", "SHELL" => "/usr/bin/true") + cmd("sh", "SHELL" => which("true")) end def test_info @@ -588,10 +588,7 @@ class IntegrationCommandTests < Homebrew::TestCase assert((share/"notpruneable").directory?) refute((share/"pruneable_symlink").symlink?) - # Inexact match because only if ~/Applications exists, will this output one - # more line with contents `No apps unlinked from /Users/