diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-01-08 01:50:21 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-01-08 01:50:21 +0000 |
commit | e9b90724d8a2ee8c405acdf112adfabcb5cc3159 (patch) | |
tree | 118b74e8b9f65606fc21cfb4f58b8a774af4f83c /test | |
parent | 77775e385fe92d1309c65c585b4643712c58e5ba (diff) | |
download | kgio-e9b90724d8a2ee8c405acdf112adfabcb5cc3159.tar.gz |
No need to completely fail on a test.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_autopush.rb | 6 |
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' |