aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/support
diff options
context:
space:
mode:
authorMichael Ledin2017-02-19 07:59:57 +0300
committerMichael Ledin2017-02-19 08:02:00 +0300
commit92fe130cbb1faef375c6cb86bae02551882fd72d (patch)
treef4dcd65cbc490d187b6ebd51a9383d1a90e68a4d /Library/Homebrew/test/support
parent5c185eaa4355810ccc6617cb078ee67d4fa0777c (diff)
downloadbrew-92fe130cbb1faef375c6cb86bae02551882fd72d.tar.bz2
Use TEST_TMPDIR in rmdir tests.
Diffstat (limited to 'Library/Homebrew/test/support')
-rw-r--r--Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb2
-rw-r--r--Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb2
-rw-r--r--Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb2
-rw-r--r--Library/Homebrew/test/support/fixtures/cask/empty_directory/.gitignore0
4 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
index 706b85f6b..8416f3f88 100644
--- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
+++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-installable.rb
@@ -17,5 +17,5 @@ cask 'with-installable' do
'impermissible/relative/path',
'/another/impermissible/../relative/path',
],
- rmdir: "#{TEST_FIXTURE_DIR}/cask/empty_directory"
+ rmdir: "#{TEST_TMPDIR}/empty_directory_path"
end
diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb
index 252d81994..8ded5b835 100644
--- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb
+++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb
@@ -7,5 +7,5 @@ cask 'with-uninstall-rmdir' do
pkg 'MyFancyPkg/Fancy.pkg'
- uninstall rmdir: "#{TEST_FIXTURE_DIR}/cask/empty_directory"
+ uninstall rmdir: "#{TEST_TMPDIR}/empty_directory_path"
end
diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb
index 02139b3b0..a67c4ca9a 100644
--- a/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb
+++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-zap-rmdir.rb
@@ -7,5 +7,5 @@ cask 'with-zap-rmdir' do
pkg 'MyFancyPkg/Fancy.pkg'
- zap rmdir: "#{TEST_FIXTURE_DIR}/cask/empty_directory"
+ zap rmdir: "#{TEST_TMPDIR}/empty_directory_path"
end
diff --git a/Library/Homebrew/test/support/fixtures/cask/empty_directory/.gitignore b/Library/Homebrew/test/support/fixtures/cask/empty_directory/.gitignore
deleted file mode 100644
index e69de29bb..000000000
--- a/Library/Homebrew/test/support/fixtures/cask/empty_directory/.gitignore
+++ /dev/null