aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-27 03:19:23 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-27 03:19:23 +0200
commite20c31a6ea39224a33756124f515ea2093fddf76 (patch)
tree0c6bf86979fa73b31e4b82fe10c03fb84f160755
parentb08e0b07f088adcc85a4ffa28702c5d38c529bf2 (diff)
downloadsbotools2-e20c31a6ea39224a33756124f515ea2093fddf76.tar.xz
01-unit.t: $tmpd and get_kernel_version have moved
-rwxr-xr-xt/01-unit.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/01-unit.t b/t/01-unit.t
index 0e0cd1a..55cb403 100755
--- a/t/01-unit.t
+++ b/t/01-unit.t
@@ -273,7 +273,7 @@ SKIP: {
my $scalar = '';
open(my $fh, '<', \$scalar) or skip "Could not open needed filehandle", 1;
- local $SBO::Lib::tmpd = "/foo-bar";
+ local $SBO::Lib::Build::tmpd = "/foo-bar";
is (scalar @{ SBO::Lib::get_src_dir($fh) }, 0, "get_src_dir() returned an empty array ref");
}
@@ -317,7 +317,7 @@ SKIP: {
is ($res[3], 0, "version_cmp(1.0_k, 1.0_k) returned 0");
no warnings 'redefine';
- local *SBO::Lib::get_kernel_version = sub { "foo_bar" };
+ local *SBO::Lib::Util::get_kernel_version = sub { "foo_bar" };
is (SBO::Lib::version_cmp('1.0', '1.0_foo_bar'), 0, "version_cmp(1.0, 1.0_foo_bar) returned 0");
}