<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/fileutils, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/fileutils] Just the parent path of the destination symlink should exist</title>
<updated>2025-07-19T14:09:50+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-19T14:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5a8e87cb2ef7e4d6c0bdc86a4af207ecbb56a1e7'/>
<id>5a8e87cb2ef7e4d6c0bdc86a4af207ecbb56a1e7</id>
<content type='text'>
https://github.com/ruby/fileutils/commit/71225b1b46
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fileutils/commit/71225b1b46
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] FileUtils.remove_dir checks directory</title>
<updated>2025-07-19T13:54:45+00:00</updated>
<author>
<name>Erik Berlin</name>
<email>sferik@gmail.com</email>
</author>
<published>2025-07-17T01:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4431ca53639f3db5a702a5f8e78e8fbec2e4defe'/>
<id>4431ca53639f3db5a702a5f8e78e8fbec2e4defe</id>
<content type='text'>
https://github.com/ruby/fileutils/commit/f0d7fc817b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fileutils/commit/f0d7fc817b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Use shorter symlink by real paths</title>
<updated>2025-07-19T13:47:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-19T13:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3dced7955c1ad4f421400a9a4a78a7ccf6d46a6e'/>
<id>3dced7955c1ad4f421400a9a4a78a7ccf6d46a6e</id>
<content type='text'>
https://github.com/ruby/fileutils/commit/277f7f2ff8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fileutils/commit/277f7f2ff8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Fix up `FileUtils#ln_sr`</title>
<updated>2025-07-19T13:47:47+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-19T03:03:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de68f2204204f0025e21665f5d481045ebdffb61'/>
<id>de68f2204204f0025e21665f5d481045ebdffb61</id>
<content type='text'>
https://github.com/ruby/fileutils/commit/2836a164ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fileutils/commit/2836a164ed
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Fix `ln_sf` with multiple sources and `target_directory: false`</title>
<updated>2025-07-18T09:22:34+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-07-18T09:14:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cfe8263f41d2a3f17575dcaaad7f96ddd9617180'/>
<id>cfe8263f41d2a3f17575dcaaad7f96ddd9617180</id>
<content type='text'>
In this case, an ArgumentError is now raised rather than ignoring the
option, just as GNU coreutils' `ln` would error on the command line.
Fixes https://github.com/ruby/fileutils/pull/128 as well.

https://github.com/ruby/fileutils/commit/4fc578a75f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In this case, an ArgumentError is now raised rather than ignoring the
option, just as GNU coreutils' `ln` would error on the command line.
Fixes https://github.com/ruby/fileutils/pull/128 as well.

https://github.com/ruby/fileutils/commit/4fc578a75f
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed Solaris conditions from test files</title>
<updated>2025-04-02T07:24:47+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-04-02T04:38:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121'/>
<id>6bd5a51ab5a2b1d33fa586cb2969b25d8d68c121</id>
<content type='text'>
We no longer execute those files with Solaris platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We no longer execute those files with Solaris platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip some tests which don't work under permissionless containers</title>
<updated>2024-08-22T23:34:41+00:00</updated>
<author>
<name>KJ Tsanaktsidis</name>
<email>kj@kjtsanaktsidis.id.au</email>
</author>
<published>2024-08-08T11:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8800127d80fb1063a186ced65af445e79a518924'/>
<id>8800127d80fb1063a186ced65af445e79a518924</id>
<content type='text'>
When running as UID 0 but without CAP_DAC_OVERRIDE (for example, in a
docker container running with --uid 0 but --cap-drop=all), these tests
won't work because of hard-coded assumptions about what uid 0 can and
can't do.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When running as UID 0 but without CAP_DAC_OVERRIDE (for example, in a
docker container running with --uid 0 but --cap-drop=all), these tests
won't work because of hard-coded assumptions about what uid 0 can and
can't do.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] Add mkdir_p to FileUtils.install</title>
<updated>2023-02-10T03:37:39+00:00</updated>
<author>
<name>Satadru Pramanik, DO, MPH, MEng</name>
<email>satadru@gmail.com</email>
</author>
<published>2023-02-10T03:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94aed6ece5517344760816e521ee5d62366dfafb'/>
<id>94aed6ece5517344760816e521ee5d62366dfafb</id>
<content type='text'>
(https://github.com/ruby/fileutils/pull/104)

* Add mkdir_p to FileUtils.install

* Adjust raise message.

* adjust raise language

* handle trailing slash in dest

* simplify

* Add tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/fileutils/pull/104)

* Add mkdir_p to FileUtils.install

* Adjust raise message.

* adjust raise language

* handle trailing slash in dest

* simplify

* Add tests
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/fileutils] [Feature #18925] Add `ln_sr` method and `relative:` option to `ln_s`</title>
<updated>2022-11-25T01:03:57+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-11-25T01:03:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c6330cd32b7d02b4603080a2c53d64be9e05773c'/>
<id>c6330cd32b7d02b4603080a2c53d64be9e05773c</id>
<content type='text'>
https://github.com/ruby/fileutils/commit/5116088d5c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/fileutils/commit/5116088d5c
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `sockaddr_un` on Windows. (#6513)</title>
<updated>2022-11-17T22:50:25+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-11-17T22:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ea8a7287e2b96b9c24e5e89fe863e5bfa60bfdda'/>
<id>ea8a7287e2b96b9c24e5e89fe863e5bfa60bfdda</id>
<content type='text'>
* Windows: Fix warning about undefined if_indextoname()

* Windows: Fix UNIXSocket on MINGW and make .pair more reliable

* Windows: Use nonblock=true for read tests with scheduler

* Windows: Move socket detection from File.socket? to File.stat

Add S_IFSOCK to Windows and interpret reparse points accordingly.
Enable tests that work now.

* Windows: Use wide-char functions to UNIXSocket

This fixes behaviour with non-ASCII characters.
It also fixes deletion of temporary UNIXSocket.pair files.

* Windows: Add UNIXSocket tests for specifics of Windows impl.

* Windows: fix VC build due to missing _snwprintf

Avoid usage of _snwprintf, since it fails linking ruby.dll like so:

  linking shared-library x64-vcruntime140-ruby320.dll
  x64-vcruntime140-ruby320.def : error LNK2001: unresolved external symbol snwprintf
  x64-vcruntime140-ruby320.def : error LNK2001: unresolved external symbol vsnwprintf_l

whereas linking miniruby.exe succeeds.

This patch uses snprintf on the UTF-8 string instead.

Also remove branch GetWindowsDirectoryW, since it doesn't work.

* Windows: Fix dangling symlink test failures

Co-authored-by: Lars Kanis &lt;kanis@comcard.de&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Windows: Fix warning about undefined if_indextoname()

* Windows: Fix UNIXSocket on MINGW and make .pair more reliable

* Windows: Use nonblock=true for read tests with scheduler

* Windows: Move socket detection from File.socket? to File.stat

Add S_IFSOCK to Windows and interpret reparse points accordingly.
Enable tests that work now.

* Windows: Use wide-char functions to UNIXSocket

This fixes behaviour with non-ASCII characters.
It also fixes deletion of temporary UNIXSocket.pair files.

* Windows: Add UNIXSocket tests for specifics of Windows impl.

* Windows: fix VC build due to missing _snwprintf

Avoid usage of _snwprintf, since it fails linking ruby.dll like so:

  linking shared-library x64-vcruntime140-ruby320.dll
  x64-vcruntime140-ruby320.def : error LNK2001: unresolved external symbol snwprintf
  x64-vcruntime140-ruby320.def : error LNK2001: unresolved external symbol vsnwprintf_l

whereas linking miniruby.exe succeeds.

This patch uses snprintf on the UTF-8 string instead.

Also remove branch GetWindowsDirectoryW, since it doesn't work.

* Windows: Fix dangling symlink test failures

Co-authored-by: Lars Kanis &lt;kanis@comcard.de&gt;</pre>
</div>
</content>
</entry>
</feed>
