• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yast / yast-network / 8268199668

13 Mar 2024 04:29PM UTC coverage: 80.584% (-0.02%) from 80.607%
8268199668

Pull #1365

github

shundhammer
Merge remote-tracking branch 'upstream/SLE-15-SP5' into huha-pw-leak-15-6
Pull Request #1365: Guard secret attributes against leaking to the logs [SLE-15-SP6]

6 of 6 new or added lines in 1 file covered. (100.0%)

3 existing lines in 3 files now uncovered.

9268 of 11501 relevant lines covered (80.58%)

19.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.31
/src/lib/y2network/connection_config/tap.rb
1
# Copyright (c) [2019] SUSE LLC
2
#
3
# All Rights Reserved.
4
#
5
# This program is free software; you can redistribute it and/or modify it
6
# under the terms of version 2 of the GNU General Public License as published
7
# by the Free Software Foundation.
8
#
9
# This program is distributed in the hope that it will be useful, but WITHOUT
10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12
# more details.
13
#
14
# You should have received a copy of the GNU General Public License along
15
# with this program; if not, contact SUSE LLC.
16
#
17
# To contact SUSE LLC about this file by physical or electronic mail, you may
18
# find current contact information at www.suse.com.
19

20
require "y2network/connection_config/base"
1✔
21

22
module Y2Network
1✔
23
  module ConnectionConfig
1✔
24
    # Configuration for TAP connections
25
    class Tap < Base
1✔
26
      # @return [String] tunnel owner (name or UID)
27
      attr_accessor :owner
1✔
28
      # @return [String] tunnel group (name or GID)
29
      attr_accessor :group
1✔
30

31
      eql_attr :owner, :group
1✔
32

33
      def initialize
1✔
34
        super()
7✔
35
        @owner = ""
7✔
36
        @group = ""
7✔
37
      end
38

39
      def virtual?
1✔
UNCOV
40
        true
×
41
      end
42
    end
43
  end
44
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc