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/stress_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/stress_test.rb') diff --git a/tests/stress_test.rb b/tests/stress_test.rb index 88804ba..70bf767 100755 --- a/tests/stress_test.rb +++ b/tests/stress_test.rb @@ -1,6 +1,8 @@ #!/usr/bin/env ruby -require './common.rb' +# if we are being run by make check it will set srcdir and we should use it +$LOAD_PATH << (ENV['srcdir'] || '.') +require 'common.rb' require 'shellwords' if ARGV.length == 0 || ['-h', '--help'].include?(ARGV[0]) -- cgit v1.2.3