about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_autopush.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_autopush.rb b/test/test_autopush.rb
index f5d4e4e..24b300f 100644
--- a/test/test_autopush.rb
+++ b/test/test_autopush.rb
@@ -1,6 +1,10 @@
 require 'tempfile'
 require 'test/unit'
-RUBY_PLATFORM =~ /linux/ and require 'strace'
+begin
+  $-w = false
+  RUBY_PLATFORM =~ /linux/ and require 'strace'
+rescue LoadError
+end
 $-w = true
 require 'kgio'