aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-28 00:16:03 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-08-28 00:16:03 +0200
commit5f6818be6eca7b849de73947d2d5a5c408c3624c (patch)
tree94744053566aded3980b4a07d967074039776dba /t
parente20c31a6ea39224a33756124f515ea2093fddf76 (diff)
downloadsbotools2-5f6818be6eca7b849de73947d2d5a5c408c3624c.tar.xz
22-race.t: open_fh() moved to ::Util
Diffstat (limited to 't')
-rwxr-xr-xt/22-race.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/22-race.t b/t/22-race.t
index 4292148..c1298df 100755
--- a/t/22-race.t
+++ b/t/22-race.t
@@ -27,7 +27,7 @@ sub emulate_race {
my $file = "$tempdir/foo";
system('touch', $file);
- emulate_race($file, 'open_fh');
+ emulate_race($file, 'Util::open_fh');
my ($fh, $exit) = open_fh $file, '<';
is ($exit, 6, 'open_fh returned exit value 6');
@@ -40,7 +40,7 @@ sub emulate_race {
system('mv', $conf_file, "$conf_file.bak");
system('touch', $conf_file);
- emulate_race($conf_file, 'open_fh');
+ emulate_race($conf_file, 'Util::open_fh');
my $out = capture_merged { SBO::Lib::read_config(); };
is ($out, "Unable to open $conf_file.\n", 'read_config output correct');
@@ -58,7 +58,7 @@ sub emulate_race {
};
my $exit;
- emulate_race($sv_file, 'open_fh');
+ emulate_race($sv_file, 'Util::open_fh');
local $config{SLACKWARE_VERSION} = 'FALSE';
my $out = capture_merged { $exit = exit_code { SBO::Lib::get_slack_version(); }; };