about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-01-08 01:50:21 +0000
committerEric Wong <normalperson@yhbt.net>2012-01-08 01:50:21 +0000
commite9b90724d8a2ee8c405acdf112adfabcb5cc3159 (patch)
tree118b74e8b9f65606fc21cfb4f58b8a774af4f83c /test
parent77775e385fe92d1309c65c585b4643712c58e5ba (diff)
downloadkgio-e9b90724d8a2ee8c405acdf112adfabcb5cc3159.tar.gz
No need to completely fail on a test.
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'