summary refs log blame commit diff
path: root/pkgs/development/python-modules/buildbot/skip_test_linux_distro.patch
blob: 8fe5c7b56b4f27454a695b40ecfbcfa86f7bff07 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                                     
diff -Nur buildbot-0.9.6/buildbot/test/unit/test_buildbot_net_usage_data.py buildbot-0.9.6.patched/buildbot/test/unit/test_buildbot_net_usage_data.py
--- buildbot-0.9.6/buildbot/test/unit/test_buildbot_net_usage_data.py	2017-04-19 16:57:02.000000000 +0200
+++ buildbot-0.9.6.patched/buildbot/test/unit/test_buildbot_net_usage_data.py	2017-05-04 12:22:54.575762551 +0200
@@ -147,6 +147,7 @@
         _sendBuildbotNetUsageData({'foo': 'bar'})
 
     def test_linux_distro(self):
+        raise SkipTest("NixOS sandboxed builds hides /etc/os-release")
         system = platform.system()
         if system != "Linux":
             raise SkipTest("test is only for linux")