From 2e773e67617e3ee3b9d30ed2365579ef18aa3a29 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Fri, 18 Dec 2015 00:28:05 +0100 Subject: Fix old run syntax to use new script syntax in *.t files --- t/install.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 't/install.t') diff --git a/t/install.t b/t/install.t index 54eafe3..cfdd415 100755 --- a/t/install.t +++ b/t/install.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 }); } } -- cgit v1.2.3