17 Commits
Author SHA1 Message Date
Jeremy Drake f60763e164 runtime/symlinks: handle when lnk files are over 1,000 bytes 2025-04-18 11:11:33 -07:00
Jeremy Drake 4cf0b2d414 test symlinks
Make every style of file/directory/symlink possible, and then test that
a 'deepcopy' symlink preserves all of them.
2025-03-14 09:31:12 +01:00
Johannes Schindelin 871ae708f5 path_conv: backport forgotten part of msys2/msys2-runtime#179
In https://github.com/msys2/msys2-runtime/pull/179 ("Fix out-of-bound
access in path conversion"), _two_ instances were fixed where `it` was
used when `it2` should have been used instead.

In 3a20d2f (Sync path_conv.pp with msys2-runtime, 2023-12-22), only one
of those fixes was applied. Let's apply the other one, too.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-02-27 20:49:20 +01:00
Christoph Reiter 5340d9adc0 pathconv: don't skip arguments with double quote
it is used to pass strings/paths to the preprocessor and breaks
for example the CPython build
2024-02-10 10:34:41 +01:00
Christoph Reiter 5180ba50e6 Merge pull request #58 from lazka/path-conv-sync
Sync pathconv tests
2024-01-06 17:00:12 +01:00
Christoph Reiter f9d5bb6ff6 adjust old tests to pass with the new behaviour 2023-12-22 18:42:56 +01:00
Christoph Reiter 2445fbcaf3 Add new test cases based on the recent fixup commits 2023-12-22 16:37:13 +01:00
Christoph Reiter 3a20d2f1f5 Sync path_conv.pp with msys2-runtime 2023-12-22 16:02:07 +01:00
Christoph Reiter 63e3080468 Add a test for MSYS_NO_PATHCONV 2023-12-22 15:18:52 +01:00
Kai Pastor 97a621a8ca Update path_conv sources from msys2 runtime 2023-10-29 18:06:06 +01:00
Kai Pastor 920f834a83 Fix debug output 2023-10-29 18:06:06 +01:00
Christoph Reiter 7665bfe1c5 only force unix line endings for the makepkg tests 2023-06-20 10:00:42 +02:00
Christoph Reiter a864ac6e4d sync pathconv code with msys2-runtime 2023-04-19 09:17:57 +02:00
Christoph Reiter 7216e6a544 runtime: add tests for pathlists with spaces
Adjust the tests for https://github.com/msys2/msys2-runtime/pull/143

Applies the changes to the embedded path code here and also
adds integration tests which tests the real runtime.
2023-04-01 18:58:06 +02:00
Christoph Reiter 6050470bf5 runtime: add a bash test which requires /dev/fd symlinks 2023-01-11 19:40:08 +01:00
Christoph Reiter c3e1466c16 Integrate path_convert tests
These come from https://github.com/msys2/path_convert/ and include
a copy of the path conversion logic from msys2-runtime + call into
cygwin + some tests.

Ideally these would be split into tests that are integrated into
the cygwin/msys2-runtime test suite and some external integration tests.

But this way we at least have all tests in one place and they get run
once a day, and also against staging.

This will allow us to archive https://github.com/msys2/path_convert
2022-12-08 17:43:18 +01:00
Christoph Reiter 4c5d6f6f56 Start some path conversion integration tests
This builds a non-cygwin binary that prints all arguments
and env vars and a Python test script which uses it to
test the cygwin path conversion.
2022-12-07 19:41:32 +01:00