From 34ea573bc5236fc856e9ef46efe729e09da2b167 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 16 Mar 2012 10:14:05 -0600 Subject: [PATCH] charnames.t: Attempt to fix probable timing issue charnames.t sometimes fails on a test that is expecting a file to be non-existent. However, other tests in it briefly create a file by that name. When two instances of the .t are run in parallel, as happens in some smokes, it could be that the file exists at the time it is expected not to. The result is a non-reproducible failure. Anyway, that is my theory. And so this commit changes to use a filename that is used just by the test for what happens when a file is non-existent, and hence doesn't ever exist even transiently. --- t/lib/charnames/alias | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lib/charnames/alias b/t/lib/charnames/alias index e234de3..fb1a914 100644 --- a/t/lib/charnames/alias +++ b/t/lib/charnames/alias @@ -204,11 +204,11 @@ Unknown charname 'LATIN:e WITH ACUTE' at # NAME alias with nonexisting file use warnings; no warnings 'void'; -use charnames ":full", ":alias" => "xyzzy"; +use charnames ":full", ":alias" => "non_existing_xyzzy"; "Here: \N{e_ACUTE}\N{a_ACUTE}!\n"; EXPECT OPTIONS regex -unicore/xyzzy_alias.pl cannot be used as alias file for charnames at +unicore/non_existing_xyzzy_alias.pl cannot be used as alias file for charnames at ######## # NAME alias with bad file name use warnings; -- 1.8.3.1