From d905715572014dd6bd0b5998750d756ab0bfd03c Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Fri, 18 Dec 2015 00:51:56 +0100 Subject: Make sure $lo is defined --- t/remove.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/remove.t') diff --git a/t/remove.t b/t/remove.t index a155cdc..8bc3203 100755 --- 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 }); -- cgit v1.2.3