[latex3-commits] [git/LaTeX3-latex3-latex3] master: Test file lookup (846a0a049)

PhelypeOleinik tex.phelype at gmail.com
Wed Jul 8 23:32:35 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/846a0a049906ba572a5f47098e5aa9eb2e56ac69

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

commit 846a0a049906ba572a5f47098e5aa9eb2e56ac69
Author: PhelypeOleinik <tex.phelype at gmail.com>
Date:   Wed Jul 8 18:32:35 2020 -0300

    Test file lookup


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

846a0a049906ba572a5f47098e5aa9eb2e56ac69
 l3kernel/testfiles/m3file001.lvt                             | 12 ++++++++++++
 .../{filetest.txt => support/testpath/infolder.txt}          |  0
 2 files changed, 12 insertions(+)

diff --git a/l3kernel/testfiles/m3file001.lvt b/l3kernel/testfiles/m3file001.lvt
index e4fedc1c4..1ce85e6d0 100644
--- a/l3kernel/testfiles/m3file001.lvt
+++ b/l3kernel/testfiles/m3file001.lvt
@@ -56,6 +56,18 @@
     \file_full_name:n { NotAFile.xxx.yyy.zzz } \NEWLINE
   }
 
+\TEST { Find~files~in~the~search~path }
+  {
+    \group_begin:
+      \seq_put_right:Nn \l_file_search_path_seq { ./testpath }
+      \TYPE { l3:~\file_full_name:n { infolder.txt } }
+    \group_end:
+    \group_begin:
+      \cs_set:cpn { input at path } { {./testpath} }
+      \TYPE { 2e:~\file_full_name:n { infolder.txt } }
+    \group_end:
+  }
+
 \TEST { Getting~the~full~name~of~files }
   {
     \file_get_full_name:nN { filetest.txt } \l_A_tl
diff --git a/l3kernel/testfiles/filetest.txt b/l3kernel/testfiles/support/testpath/infolder.txt
similarity index 100%
copy from l3kernel/testfiles/filetest.txt
copy to l3kernel/testfiles/support/testpath/infolder.txt





More information about the latex3-commits mailing list.