diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2017-03-12 01:03:55 +0000 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2017-03-12 01:03:55 +0000 |
commit | 8437e3fc441ba5e38c57c571ba477237a72ea66d (patch) | |
tree | 56d1a4617cbd86e1b80410ee2aba1f8c282050fa /tests/common.rb | |
parent | 040989a14ad2265f4835121fd138654f6424150f (diff) | |
download | bindfs-8437e3fc441ba5e38c57c571ba477237a72ea66d.tar.gz |
Hacked tests to work with Ruby 1.8.7 and FUSE 2.8 again.
The test suite now passes under Ubuntu 12.04 and CentOS 6.
Fixes #49
Diffstat (limited to 'tests/common.rb')
-rw-r--r-- | tests/common.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/common.rb b/tests/common.rb index 81d45fc..b3a14e4 100644 --- a/tests/common.rb +++ b/tests/common.rb @@ -18,8 +18,9 @@ # along with bindfs. If not, see <http://www.gnu.org/licenses/>. # +require 'ruby18_hacks.rb' +require 'shellwords' unless $ruby_18_hacks_enabled # Ruby 1.8 doesn't have shellwords require 'fileutils' -require 'shellwords' include FileUtils # Set the default umask for all tests |