aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds_env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds_env.rb')
-rw-r--r--Library/Homebrew/test/test_integration_cmds_env.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds_env.rb b/Library/Homebrew/test/test_integration_cmds_env.rb
new file mode 100644
index 000000000..9f6fc7cbb
--- /dev/null
+++ b/Library/Homebrew/test/test_integration_cmds_env.rb
@@ -0,0 +1,8 @@
+require "integration_cmds_tests"
+
+class IntegrationCommandTestEnv < IntegrationCommandTests
+ def test_env
+ assert_match(/CMAKE_PREFIX_PATH="#{Regexp.escape(HOMEBREW_PREFIX)}[:"]/,
+ cmd("--env"))
+ end
+end