From 8437e3fc441ba5e38c57c571ba477237a72ea66d Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Sun, 12 Mar 2017 01:03:55 +0000 Subject: 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 --- tests/common.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/common.rb') 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 . # +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 -- cgit v1.2.3