ayaports/user/ruby3.2-rugged/skip-test_read_global_config_file.patch

14 lines
394 B
Diff
Raw Normal View History

2024-01-19 17:32:42 +00:00
It seems that this test fails when user.name is NOT set in ~/.gitconfig
on the build system.
--- a/test/config_test.rb
+++ b/test/config_test.rb
@@ -17,6 +17,7 @@
end
def test_read_global_config_file
+ skip 'This test is flawed, it runs on real FS, i.e. it is not isolated'
config = Rugged::Config.global
refute_nil config['user.name']
assert_nil config['core.bare']