commit d905715572014dd6bd0b5998750d756ab0bfd03c
parent c8faa619a19d528765ca44ee72a9888413a73045
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Fri, 18 Dec 2015 00:51:56 +0100
Make sure $lo is defined
Diffstat:
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/t/env.t b/t/env.t
@@ -55,6 +55,7 @@ sub set_lo {
if ($set) { script (qw/ sboconfig -o /, $lo, { test => 0 }); }
} else {
($lo) = script (qw/ sboconfig -l /, { expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0 });
+ $lo //= 'FALSE';
note "Saving original value of LOCAL_OVERRIDES: $lo";
$set = 1;
script (qw/ sboconfig -o /, "$RealBin/LO", { test => 0 });
diff --git a/t/install.t b/t/install.t
@@ -52,6 +52,7 @@ sub set_lo {
if ($set) { script (qw/ sboconfig -o /, $lo, { test => 0 }); }
} else {
($lo) = script (qw/ sboconfig -l /, { expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0 });
+ $lo //= 'FALSE';
note "Saving original value of LOCAL_OVERRIDES: $lo";
$set = 1;
script (qw/ sboconfig -o /, "$RealBin/LO", { test => 0 });
diff --git a/t/remove.t b/t/remove.t
@@ -52,6 +52,7 @@ sub set_lo {
if ($set) { script (qw/ sboconfig -o /, $lo, { test => 0 }); }
} else {
($lo) = script (qw/ sboconfig -l /, { expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0 });
+ $lo //= 'FALSE';
note "Saving original value of LOCAL_OVERRIDES: $lo";
$set = 1;
script (qw/ sboconfig -o /, "$RealBin/LO", { test => 0 });