aboutsummaryrefslogtreecommitdiff
path: root/t/remove.t
diff options
context:
space:
mode:
Diffstat (limited to 't/remove.t')
-rwxr-xr-xt/remove.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/remove.t b/t/remove.t
index 3014ea7..e2c3672 100755
--- a/t/remove.t
+++ b/t/remove.t
@@ -49,12 +49,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 });
}
}