See http://ci.opensuse.org/job/yast-yast-network-master/7/display/redirect?page=...
Changes:
[schubi] Added additional searchkeys to desktop file
[schubi] added suggestion
[schubi] flickering testcase
[schubi] fixed versions
------------------------------------------
[...truncated 147.11 KB...]
[ 30s] returns empty list if bond device doesn't have slaves assigned
[ 30s] #BuildBondIndex
[ 30s] creates mapping of device names to corresponding bond master
[ 30s] #setup_bonding
[ 30s] sets BONDING_MASTER and BONDING_MODULE_OPTS
[ 30s] sets BONDING_SLAVEx options according to given list
[ 30s] clears BONDING_SLAVEx which are not needed anymore
[ 30s] clears all BONDING_SLAVESx and sets BONDING_MASTER, BONDING_OPTIONS when no slaves provided
[ 30s] raises an exception in case of nil devmap
[ 30s]
[ 30s] VirtualEditDialog
[ 30s] passes smoke test
[ 30s]
[ 30s] InstallInfConvertor
[ 30s] in case of no network config in /etc/install.inf
[ 30s] #hostname
[ 30s] returns empty string
[ 30s] #write_hostname
[ 30s] returns false
[ 30s] #write_proxy
[ 30s] returns false
[ 30s] linuxrc provides static configuration
[ 30s] #write_global_netconfig
[ 30s] writes all expected configuration
[ 30s] #write_proxy
[ 30s] writes proxy configuration if defined in install.inf
[ 30s] writes proxy credentials separately
[ 30s] does not write proxy configuration if not defined in install.inf
[ 30s]
[ 30s] NetworkWidgetsInclude::ipoib_mode_widget
[ 30s] contains known IPoIB modes
[ 30s] contains an item allowing implicit mode setup
[ 30s]
[ 30s] NetworkLanUdevInclude#update_udev_rule_key
[ 30s] updates existing assignment key to new value
[ 30s] updates existing comparison key to new value
[ 30s] returns unchanged rule when key is not found
[ 30s]
[ 30s] #udev_rule_key
[ 30s] raises ArgumentError if given rule is empty
[ 30s] returns value of the first attribute which matches given key
[ 30s] returns an empty string if no rule matches
[ 30s]
[ 30s] NetworkLanUdevInclude#AddToUdevRule
[ 30s] adds new tripled into existing rule
[ 30s]
[ 30s] NetworkLanUdevInclude#RemoveKeyFromUdevRule
[ 30s] removes tripled from existing rule
[ 30s]
[ 30s] LanItems#ReplaceItemUdev
[ 30s] when the given Item hasn't got an udev rule
[ 30s] creates and assings a new rule for the given Item
[ 30s] when the given Item has got an udev rule
[ 30s] replaces triplet in the rule as requested
[ 30s] does not set modification flag in case of no change
[ 30s] contains NAME tuplet at last position
[ 30s]
[ 30s] #Yast::SuSEFirewall4NetworkClass:0x0000000002a37f58
[ 30s] #SetSshdEnabled
[ 30s] sets whether sshd service should be started and caches the information in ServicesProposal
[ 30s] #prepare_proposal
[ 30s] when firewall package is selected for installation
[ 30s] proposes firewall and ssh port according to control file
[ 30s] when firewall package is not selected for installation
[ 30s] proposes disabled firewall and proposes ssh port according to control file
[ 30s] ProtectByFirewall
[ 30s] when interface is not in fw zone
[ 30s] doesn't cause modification flag to be set when protect status is true
[ 30s] doesn't cause modification flag to be set when protect status is false
[ 30s]
[ 30s] phy_connected?
[ 30s] returns true if PHY layer is available
[ 30s] returns false if PHY layer is not available
[ 30s]
[ 30s] LanItemsClass#BuildLanOverview
[ 30s] returns translated network device textual description for wlan device
[ 30s]
[ 30s] LanItemsClass#ip_overview
[ 30s] do not crash when devmap for staticaly configured device do not contain PREFIXLEN
[ 30s]
[ 30s] LanItemsClass
[ 30s] #Rollback
[ 30s] when the current item is committed
[ 30s] leaves Items untouched
[ 30s] when the current item is uncommitted; without hwinfo
[ 30s] deletes the whole item
[ 30s] when the current item is uncommitted; with hwinfo
[ 30s] when getNetworkInterfaces doesn't have it
[ 30s] deletes the ifcfg of the item
[ 30s] when getNetworkInterfaces has it
[ 30s] leaves Items untouched
[ 30s]
[ 30s] NetworkLanAddressInclude
[ 30s] #justify_dev_name
[ 30s] returns given device name justified by 0's at right
[ 30s] #getISlaveIndex
[ 30s] returns the index position of the given slave in the mbox_items table
[ 30s] returns -1 in case the slave is not in the msbox_items table
[ 30s] #validate_bond
[ 30s] when there is not more than one physical port id per interface
[ 30s] returns true
[ 30s] when there is more than one physical port id per interface
[ 30s] warns the user and request confirmation to continue
[ 30s] #update_hostname
[ 30s] drops old /etc/hosts record if hostname was changed
[ 30s]
[ 30s] Yast::Routing#Read
[ 30s] loades ifroute-* files
[ 30s] replace implicit device name using explicit one
[ 30s] removes duplicit routes
[ 30s]
[ 30s] Yast::Routing#write_routes
[ 30s] writes device assigned routes into correct ifroute file
[ 30s]
[ 30s] Yast::Routing#Write
[ 30s] does write route configuration files, #0
[ 30s] does write route configuration files, #1
[ 30s]
[ 30s] When querying netcard device name
[ 30s] returns empty list when querying device name with nil or empty input
[ 30s] can return list of device names available in the system
[ 30s]
[ 30s] NetworkComplexInclude#HardwareName
[ 30s] returns expected name when querying oldfashioned mac based id
[ 30s] returns expected name when querying oldfashioned bus based id
[ 30s] returns expected name when querying by device name
[ 30s] returns empty string when id is not given
[ 30s] returns empty string when no hwinfo is available
[ 30s] returns empty string when querying unknown id
[ 30s]
[ 30s] LanItemsClass#BuildLanOverview
[ 30s] returns description and uses custom name if present
[ 30s] returns description and uses type based name if hwinfo is not present
[ 30s]
[ 30s] LanItemsClass#DeleteItem
[ 30s] removes an existing item
[ 30s] removes only the configuration if the item has hwinfo
[ 30s]
[ 30s] LanItemsClass#GetItemName
[ 30s] returns name provided by hwinfo if not configured
[ 30s] returns name according configuration if available
[ 30s]
[ 30s] LanItemsClass#SetItemName
[ 30s] doesn't try to update udev rules when none exists for the item
[ 30s]
[ 30s] LanItemsClass#FindAndSelect
[ 30s] finds configured device
[ 30s] fails to find unconfigured device
[ 30s]
[ 30s] LanItemsClass#new_device_startmode
[ 30s] When product_startmode is auto and device can hotplug
[ 30s] results to auto
[ 30s] When product_startmode is ifplugd and device can hotplug
[ 30s] results to hotplug when not running on laptop
[ 30s] results to ifplugd when running on laptop
[ 30s] results to hotplug when running NetworkManager
[ 30s] results to hotplug when current device is virtual one
[ 30s] When product_startmode is not auto neither ifplugd
[ 30s] for hotplug it results to hotplug if device can hotplug
[ 30s] for manual it results to hotplug if device can hotplug
[ 30s] for off it results to hotplug if device can hotplug
[ 30s] for nfsroot it results to hotplug if device can hotplug
[ 30s] When product_startmode is auto and device cannot hotplug
[ 30s] results to auto
[ 30s] When product_startmode is ifplugd and device cannot hotplug
[ 30s] results to auto when not running on laptop
[ 30s] results to ifplugd when running on laptop
[ 30s] results to auto when running NetworkManager
[ 30s] results to auto when current device is virtual one
[ 30s] When product_startmode is not auto neither ifplugd
[ 30s] for hotplug it results to auto if device cannot hotplug
[ 30s] for manual it results to auto if device cannot hotplug
[ 30s] for off it results to auto if device cannot hotplug
[ 30s] for nfsroot it results to auto if device cannot hotplug
[ 30s]
[ 30s] NetworkLanS390Include::s390_DriverLoaded
[ 30s] succeeds when driver is already loaded
[ 30s] fails when driver is not loaded
[ 30s]
[ 30s] Yast::NetworkAutoconfiguration
[ 30s] it sets DHCLIENT_SET_DEFAULT_ROUTE properly
[ 31s] configures just one NIC to have a default route
[ 31s] #any_iface_active?
[ 31s] returns true if any of available interfaces has configuration and is up
[ 31s]
[ 31s] #Yast::DNSClass:0x0000000001d51eb0
[ 31s] .default_dhcp_hostname
[ 31s] with dhcp_hostname=true in control file
[ 31s] in a laptop
[ 31s] returns the value from product features
[ 31s] in a workstation
[ 31s] returns the value from product features
[ 31s] with dhcp_hostname=false in control file
[ 31s] in a laptop
[ 31s] returns the value from product features
[ 31s] in a workstation
[ 31s] returns the value from product features
[ 31s] without dhcp_hostname in control file
[ 31s] in a laptop
[ 31s] returns false
[ 31s] in a workstation
[ 31s] returns true
[ 31s] .Import
[ 31s] with present dhcp_hostname and write_hostname
[ 31s] honors the provided values
[ 31s] with missing dhcp_hostname and write_hostname
[ 31s] relies on proper methods to get default values
[ 31s]
[ 31s] Failures:
[ 31s]
[ 31s] 1) LanClass#Modified returns false when no module was modified
[ 31s] Failure/Error: expect(Yast::Lan.Modified).to be false
[ 31s]
[ 31s] expected false
[ 31s] got true
[ 31s] # ./test/lan_test.rb:196:in `block (2 levels) in