function Drush_TestCase::bit_bucket

6.x drush_testcase.inc Drush_TestCase::bit_bucket()
5.x drush_testcase.inc Drush_TestCase::bit_bucket()

Borrowed from Drush. Checks operating system and returns supported bit bucket folder.

File

tests/drush_testcase.inc, line 117

Class

Drush_TestCase

Code

function bit_bucket() {
  if (!$this->is_windows()) {
    return '/dev/null';
  }
  else {
    return 'nul';
  }
}