aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds_env_bash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds_env_bash.rb')
-rw-r--r--Library/Homebrew/test/test_integration_cmds_env_bash.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds_env_bash.rb b/Library/Homebrew/test/test_integration_cmds_env_bash.rb
new file mode 100644
index 000000000..71f807199
--- /dev/null
+++ b/Library/Homebrew/test/test_integration_cmds_env_bash.rb
@@ -0,0 +1,8 @@
+require "integration_cmds_tests"
+
+class IntegrationCommandTestEnvBash < IntegrationCommandTests
+ def test_env_bash
+ assert_match(/export CMAKE_PREFIX_PATH="#{Regexp.quote(HOMEBREW_PREFIX.to_s)}"/,
+ cmd("--env", "--shell=bash"))
+ end
+end