summaryrefslogtreecommitdiffstats
path: root/spec/unit/data
Commit message (Collapse)AuthorAgeFilesLines
* Facter::Manufacturer - test for SunOS and FreeBSDMarc Fournier2010-08-042-0/+75
| | | | | This test compares a fact made with dmidecode (linux and bsd) with one using smbios (solaris).
* Adding HP-UX support to Facter's IP factsJames Turnbull2010-06-152-0/+9
| | | | Includes Rspec tests
* Fixed #3403 - Added fact to query vlans; added spec testJonas Genannt2010-06-131-0/+6
|
* Remove whitespace in DMI facts (#3008, #3011)Paul Nasrat2010-01-101-0/+60
| | | | | | | | | In addition to the stripping of the output of these facts this patchset: Refactor - Extracted function to enable easier testing. Tests - data driven tests for the dmidecode/smbios fact. Paul
* Fix #2470 - duplicate entries in interfaces factPaul Nasrat2009-08-121-0/+8
| | | | | Solaris orders inet and inet6 seperately. This tests for and fixes this by uniqueing the list. Will probably need work when we get to ipv6 support.
* Tests for #2227 - multiple interfaces on DarwinPaul Nasrat2009-05-131-0/+10
| | | | | | | | | | | | This seems to have been fixed functionally on master (in /Users/pnasrat/Development/facter/spec) Finished in 1.604955 seconds 183 examples, 0 failures However I want to take the opportunity to add tests to prevent regressions Paul
* Added network factJames Turnbull2009-01-271-0/+6
|
* Fix bug #1870 and add interface fact support for darwin systemsPaul Nasrat2009-01-151-0/+26
|
* Refactoring the IP support, and fixing #1846.Luke Kanies2009-01-151-0/+12
| | | | | | | | | | | | | | | | I've made the IPMess stuff a lot less messy, and refactored a lot of the util/ip module, including naming it more sensibly. The biggest changes are that I moved the big case statement into a constant and then used a bit of dispatch-style logic to use it, and I eliminated a bunch of duplicate code in the ipmess.rb file. Added some test data for FreeBSD and fixed a bug in my map logic pointed out by Paul Nasrat. I've also fixed #1846, in that the interface list now s/:/_/g. Signed-off-by: Luke Kanies <luke@madstop.com>
* Add unit rspec tests for ticket 1425Paul Nasrat2008-08-131-0/+3
|
* Extract ifconfig output to data directoryPaul Nasrat2008-08-131-0/+18