aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_integration_cmds_readall.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds_readall.rb')
-rw-r--r--Library/Homebrew/test/test_integration_cmds_readall.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds_readall.rb b/Library/Homebrew/test/test_integration_cmds_readall.rb
new file mode 100644
index 000000000..1a6ca4547
--- /dev/null
+++ b/Library/Homebrew/test/test_integration_cmds_readall.rb
@@ -0,0 +1,12 @@
+require "integration_cmds_tests"
+
+class IntegrationCommandTestReadall < IntegrationCommandTests
+ def test_readall
+ formula_file = setup_test_formula "testball"
+ alias_file = CoreTap.new.alias_dir/"foobar"
+ alias_file.parent.mkpath
+ FileUtils.ln_s formula_file, alias_file
+ cmd("readall", "--aliases", "--syntax")
+ cmd("readall", "homebrew/core")
+ end
+end