autoconf/0001-Fix-test-suite-with-modern-Perl.patch
Frédéric Bérat 47a2af0aeb Backport: Fix test suite under Perl 5.26
Make the test suite work properly now that "." is no longer in @INC

Resolves: RHEL-47138
2024-12-04 07:55:20 +01:00

26 lines
664 B
Diff

From dfb0659b205e03af62542cd318a9f3253e28c40a Mon Sep 17 00:00:00 2001
From: Daniel Colascione <dancol@dancol.org>
Date: Sun, 4 Mar 2018 13:36:55 -0800
Subject: [PATCH] Fix test suite with modern Perl
---
tests/tools.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/tools.at b/tests/tools.at
index 31d4aadb..4ee916af 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -1290,7 +1290,7 @@ do
funny=`func_sanitize_file_name "$funny"`
file=" file $funny"
dir=`func_sanitize_dir_name " dir $funny"`
- TMPDIR=" tmp$dir"
+ TMPDIR="./ tmp$dir"
export TMPDIR
# skip if we cannot create such a file or directory
--
2.47.0