diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index 2c9a77bcfb..d2c5b317b5 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -668,6 +668,10 @@ module Homebrew *tests_args test "brew", "tests", "--no-compat" test "brew", "readall", "--syntax" + # test update from origin/master to current commit. + test "brew", "update-test" + # test no-op update from current commit (to current commit, a no-op). + test "brew", "update-test", "--commit=HEAD" else test "brew", "readall", "--aliases", @tap.name end