[latex3-commits] [git/LaTeX3-latex3-latex2e] gh776: Correct test file description (33d5bf54)

PhelypeOleinik phelype.oleinik at latex-project.org
Tue Mar 1 15:02:19 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : gh776
Link       : https://github.com/latex3/latex2e/commit/33d5bf54b3698539f10dc11ea2a2bc0093d28c8b

>---------------------------------------------------------------

commit 33d5bf54b3698539f10dc11ea2a2bc0093d28c8b
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Mar 1 11:02:19 2022 -0300

    Correct test file description
    
    [ci skip]


>---------------------------------------------------------------

33d5bf54b3698539f10dc11ea2a2bc0093d28c8b
 required/graphics/testfiles/github-0776b.lvt | 14 +++++++++-----
 required/graphics/testfiles/github-0776b.tlg |  4 ++++
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/required/graphics/testfiles/github-0776b.lvt b/required/graphics/testfiles/github-0776b.lvt
index e6518a32..245e6d4c 100644
--- a/required/graphics/testfiles/github-0776b.lvt
+++ b/required/graphics/testfiles/github-0776b.lvt
@@ -1,11 +1,9 @@
 %
 % https://github.com/latex3/latex2e/issues/776#issuecomment-1053608790
 %
-% If a file 'meow.ps' exists in folder-a and 'meow.tex' exists
-% in folder-b, and if a graphics file 'meow' (no extension) is
-% requested we have to make sure that the actual graphics file
-% is found instead of the .tex file (that may be found because
-% TeX assumes the .tex extension if no extension was given...)
+% A graphics file should be found regardless if the file
+% extension is explicitly given or not and regardless if
+% the path is given explicitly or through \graphicspath.
 %
 \input{regression-test}
 \RequirePackage{graphics}
@@ -16,4 +14,10 @@
 
 \sbox2{\includegraphics{folder-a/meow}}
 
+\graphicspath{{folder-a}{folder-b}}
+
+\sbox4{\includegraphics{meow.ps}}
+
+\sbox6{\includegraphics{meow}}
+
 \END
diff --git a/required/graphics/testfiles/github-0776b.tlg b/required/graphics/testfiles/github-0776b.tlg
index 599d7185..fbb04f59 100644
--- a/required/graphics/testfiles/github-0776b.tlg
+++ b/required/graphics/testfiles/github-0776b.tlg
@@ -4,3 +4,7 @@ File: folder-a/meow.ps Graphic file (type eps)
 <folder-a/meow.ps>
 File: folder-a/meow.ps Graphic file (type eps)
  <folder-a/meow.ps>
+File: folder-a/meow.ps Graphic file (type eps)
+ <folder-a/meow.ps>
+File: folder-a/meow.ps Graphic file (type eps)
+ <folder-a/meow.ps>





More information about the latex3-commits mailing list.