aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2013-03-02 03:14:03 -0600
committerJ Pipkin <j@dawnrazor.net>2013-03-02 03:14:03 -0600
commitaa6de2e5a364f062df3eda6129f5e9285161af3a (patch)
tree8f2919019bf4b5d9ee05b13d48219a0824ba770c /t
parentfb0d444d3aed4100546a55bdf69903aa13cc7fe5 (diff)
downloadsbotools2-aa6de2e5a364f062df3eda6129f5e9285161af3a.tar.xz
return 0 instead of undef from get_sbo_location, test return with if instead of with if defined
Diffstat (limited to 't')
-rwxr-xr-xt/test.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test.t b/t/test.t
index 3b0b799..6e3bcf3 100755
--- a/t/test.t
+++ b/t/test.t
@@ -102,7 +102,7 @@ print "completed pseudo-random testing of get_installed_packages 'ALL' \n";
# get_sbo_location tests
is(get_sbo_location ('nginx'), "$sbo_home/network/nginx",
'get_sbo_location is good');
-is(get_sbo_location ('omgwtfbbq'), undef,
+is(get_sbo_location ('omgwtfbbq'), 0,
'get_sbo_location returns false with not-an-sbo input');
my @finds = qw(nginx gmpc);
my %locs = get_sbo_location(@finds);