aboutsummaryrefslogtreecommitdiff
path: root/t/env.t
diff options
context:
space:
mode:
Diffstat (limited to 't/env.t')
-rwxr-xr-xt/env.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/env.t b/t/env.t
index 5697777..14cb865 100755
--- a/t/env.t
+++ b/t/env.t
@@ -52,12 +52,12 @@ sub set_lo {
state $set = 0;
state $lo;
if ($_[0]) {
- if ($set) { run (cmd => [qw/ sboconfig -o /, $lo], test => 0); }
+ if ($set) { script (qw/ sboconfig -o /, $lo, { test => 0 }); }
} else {
- ($lo) = run (cmd => [qw/ sboconfig -l /], expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0);
+ ($lo) = script (qw/ sboconfig -l /, { expected => qr/LOCAL_OVERRIDES=(.*)/, test => 0 });
note "Saving original value of LOCAL_OVERRIDES: $lo";
$set = 1;
- run (cmd => [qw/ sboconfig -o /, "$RealBin/LO"], test => 0);
+ script (qw/ sboconfig -o /, "$RealBin/LO", { test => 0 });
}
}