aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common.rb')
-rw-r--r--tests/common.rb3
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