aboutsummaryrefslogtreecommitdiff
path: root/t/env.t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-18 00:51:56 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-23 16:21:02 +0100
commitd905715572014dd6bd0b5998750d756ab0bfd03c (patch)
treeab3535594515a00649c3204241f01bd664be3a3f /t/env.t
parentc8faa619a19d528765ca44ee72a9888413a73045 (diff)
downloadsbotools2-d905715572014dd6bd0b5998750d756ab0bfd03c.tar.xz
Make sure $lo is defined
Diffstat (limited to 't/env.t')
-rwxr-xr-xt/env.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/env.t b/t/env.t
index 94eec20..e7573bd 100755
--- 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 });