diff options
| author | Naoto Kaneko | 2017-02-27 14:23:53 +0900 |
|---|---|---|
| committer | Naoto Kaneko | 2017-02-27 14:23:53 +0900 |
| commit | 928eaca26720fd38b07c1e7df3f9f567477d48db (patch) | |
| tree | c08fd030cca960e74bab72b59ce057684e554334 /Library/Homebrew/test/custom_command_test.rb | |
| parent | ccc9b2dc6dc27026673db3c8871c691be9541342 (diff) | |
| parent | e3f4701f385c286a2cc72c5d07870cc9a6ce0bf4 (diff) | |
| download | brew-928eaca26720fd38b07c1e7df3f9f567477d48db.tar.bz2 | |
Merge branch 'master' into exclude-executable-metafiles
Added tests in keg_test and pathname_test was
moved into keg_spec and pathname_spec.
Diffstat (limited to 'Library/Homebrew/test/custom_command_test.rb')
| -rw-r--r-- | Library/Homebrew/test/custom_command_test.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Library/Homebrew/test/custom_command_test.rb b/Library/Homebrew/test/custom_command_test.rb deleted file mode 100644 index 8d05bc6c7..000000000 --- a/Library/Homebrew/test/custom_command_test.rb +++ /dev/null @@ -1,18 +0,0 @@ -require "testing_env" - -class IntegrationCommandTestCustomCommand < IntegrationCommandTestCase - def test_custom_command - mktmpdir do |path| - cmd = "int-test-#{rand}" - file = "#{path}/brew-#{cmd}" - - File.open(file, "w") do |f| - f.write "#!/bin/sh\necho 'I am #{cmd}'\n" - end - FileUtils.chmod 0777, file - - assert_match "I am #{cmd}", - cmd(cmd, "PATH" => "#{path}#{File::PATH_SEPARATOR}#{ENV["PATH"]}") - end - end -end |
