Description: Fix loading of systemu in tests
 This is required in order to allow execution of tests in ci.d.n
 The first fragment of this patch is required for execution with gem2deb-test-runner,
 as lib/ is moved away by the runner.
Origin: vendor
Forwarded: not-needed
--- a/test/systemu_test.rb
+++ b/test/systemu_test.rb
@@ -6,7 +6,7 @@ Testing SystemU do
   testing 'that simple usage works' do
     status, stdout, stderr = assert{ systemu :bin/:ls }
     assert{ status == 0 }
-    assert{ stdout['lib'] }
+    assert{ stdout['samples'] }
     assert{ stderr.strip.empty? }
   end
 
@@ -70,7 +70,8 @@ BEGIN {
   testdir = File.dirname(File.expand_path(__FILE__))
   rootdir = File.dirname(testdir)
   libdir = File.join(rootdir, 'lib')
-  require File.join(libdir, 'systemu')
+  $: << File.join(File.expand_path(File.dirname(__FILE__)), '../lib')
+  require 'systemu'
   require File.join(testdir, 'testing')
 
 
