aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-rugged/skip-test_read_global_config_file.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-02-21 23:15:10 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-02-21 23:15:10 +0100
commitbf12ff41d1483a3a7c3052783574e5ee6d66e108 (patch)
tree63ec7820c3f5dc267c9e213cd94c92a79131820f /community/ruby-rugged/skip-test_read_global_config_file.patch
parent753b0965d13f776141816e9fbacd56f172c65cdb (diff)
downloadaports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.bz2
aports-bf12ff41d1483a3a7c3052783574e5ee6d66e108.tar.xz
community/ruby-rugged: move from testing
Diffstat (limited to 'community/ruby-rugged/skip-test_read_global_config_file.patch')
-rw-r--r--community/ruby-rugged/skip-test_read_global_config_file.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/ruby-rugged/skip-test_read_global_config_file.patch b/community/ruby-rugged/skip-test_read_global_config_file.patch
new file mode 100644
index 0000000000..d3a3310c3f
--- /dev/null
+++ b/community/ruby-rugged/skip-test_read_global_config_file.patch
@@ -0,0 +1,13 @@
+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']