Morgan Haskel
9ece566992
This *should* make tests pass on windows
2014-10-07 15:19:22 -04:00
Morgan Haskel
006eccc9bc
Typo fixes
2014-10-03 15:22:37 -04:00
Morgan Haskel
bc727a7a62
Don't test mode and symlinks on windows
2014-10-03 15:01:20 -04:00
Morgan Haskel
6f86a98066
Windows fixes
2014-09-11 15:41:41 -04:00
Morgan Haskel
d45f1e60d7
Windows and solaris fixes
...
Solaris doesn't support multi-line grep. More fixes for install on
windows.
2014-09-11 14:03:07 -04:00
Morgan Haskel
344f6adb36
Try to remove all the platform dependent stuff
...
And updated the tests to work as planned
2014-09-11 12:18:05 -04:00
Morgan Haskel
f81ef495e3
Fixing up tests
2014-09-10 19:11:28 -04:00
Morgan Haskel
5f17a26256
Merge branch '1.0.x' into test_merge
...
Conflicts:
CHANGELOG.md
Gemfile
Modulefile
README.markdown
Rakefile
files/concatfragments.sh
manifests/setup.pp
metadata.json
spec/acceptance/backup_spec.rb
spec/acceptance/concat_spec.rb
spec/acceptance/empty_spec.rb
spec/acceptance/fragment_source_spec.rb
spec/acceptance/newline_spec.rb
spec/acceptance/nodesets/centos-64-x64.yml
spec/acceptance/nodesets/default.yml
spec/acceptance/nodesets/fedora-18-x64.yml
spec/acceptance/nodesets/ubuntu-server-10044-x64.yml
spec/acceptance/nodesets/ubuntu-server-12042-x64.yml
spec/acceptance/order_spec.rb
spec/acceptance/replace_spec.rb
spec/acceptance/symbolic_name_spec.rb
spec/acceptance/warn_spec.rb
spec/spec_helper_acceptance.rb
2014-09-10 15:03:35 -04:00
Morgan Haskel
a6590ba98d
There are no UNSUPPORTED_PLATFORMS defined for 1.1
2014-09-10 12:26:28 -04:00
Morgan Haskel
98d70da9fd
'wheel' is the root group for osx.
...
Conflicts:
spec/acceptance/concat_spec.rb
spec/acceptance/fragment_source_spec.rb
2014-09-09 23:34:08 -04:00
Morgan Haskel
166189dc25
Missed two stderr checks
2014-09-08 16:03:22 -04:00
Morgan Haskel
0acefbb79d
Stop checking for empty stderr
2014-09-08 15:01:30 -04:00
Neil Prockter
ca8e036bac
ensure concat file fragments are always replaced
2014-08-02 00:18:16 +01:00
Colleen Murphy
2b51a83b9b
Sync files
2014-06-25 17:23:15 -07:00
Morgan Haskel
90f70e86a3
'wheel' is the root group for osx.
2014-06-11 17:25:08 -04:00
Ashley Penney
f66ca3c1b7
Remove all the eq() checks as this breaks in PE3.3.
2014-06-02 16:10:29 -04:00
Morgan Haskel
6b9e8ddc37
Add nodeset for ubuntu trusty.
2014-05-14 16:14:53 -04:00
Morgan Haskel
33b90b4fbc
Fixes to get tests running on trusty.
2014-05-14 16:10:03 -04:00
Ashley Penney
a2df44a967
Fix newlines.
...
Previously the newline handling modified the actual fragments, causing
multiple runs to always update the newlines. Handle this appropriately.
2014-04-21 18:36:59 -04:00
Hunter Haugen
1577ec78e1
Add windows as unsupported
2014-02-28 08:39:09 -08:00
Hunter Haugen
495619794e
Correct the incorrect quotes
2014-02-27 16:07:01 -08:00
Hunter Haugen
d887c3b5f5
Lets can't be used outside of a test context
2014-02-27 15:50:18 -08:00
Hunter Haugen
f0b6187f76
Use tmpdir instead of /tmp for windows compatability
2014-02-27 14:52:53 -08:00
Hunter Haugen
311adee522
It is actually all Solaris
2014-02-27 14:20:42 -08:00
Hunter Haugen
f37805060f
Correct syntax
2014-02-27 13:18:29 -08:00
Hunter Haugen
1f61e9d122
Avoid multi-line greps on solaris 10
2014-02-27 13:01:13 -08:00
Hunter Haugen
8b852e2b89
Fix aix/windows ownership issues and vardir path
2014-02-26 15:09:16 -08:00
Lucien Weller
a2f625f385
Added double quotes to paths in concat command, so that it does not fail when path of target file contains some blanks.
2014-02-24 15:02:32 +01:00
Hunter Haugen
3d625c9c28
This test is implemented incorrectly, and is testing an unimplemented feature.
...
So commenting it out
2014-02-22 17:15:56 -08:00
Hunter Haugen
600ddf0e43
Disable test for unimplemented feature
2014-02-21 15:35:36 -08:00
Hunter Haugen
e0a7ca97f0
Fix test port from 596cec1
2014-02-20 16:59:08 -08:00
Alex Dreyer
62795f8126
Switch test to use a much higher gid/uid
...
(cherry picked from commit ccf5284b56
)
2014-02-14 13:42:10 -08:00
Alex Dreyer
ccf5284b56
Switch test to use a much higher gid/uid
2014-02-14 12:54:48 -08:00
Hunter Haugen
35c0d2354f
Don't remove /tmp/concat in after :each
...
If the spec files are run in a random order, removing /tmp/concat after
certain tests could cause the next tests to fail if they do not recreate
this directory.
(cherry picked from commit 1edafdcf42
)
2014-02-14 11:18:34 -08:00
Hunter Haugen
1edafdcf42
Don't remove /tmp/concat in after :each
...
If the spec files are run in a random order, removing /tmp/concat after
certain tests could cause the next tests to fail if they do not recreate
this directory.
2014-02-14 11:15:53 -08:00
Ashley Penney
596cec14be
Port over acceptance tests from master.
2014-02-12 17:47:43 -05:00
Ashley Penney
b07f338f29
Fix ensure => absent with path => set.
...
The current code doesn't correctly account for an absent with a
path set, incorrectly trying to remove $name instead. Fixing this
raised the issue that fragments left with no ensure will fail when
absent is set as the fragdir is deleted.
As a workaround for this we check the `ensure` parameter from the
concat{} resource with getparam() and then pass that to the fragment
if no specific ensure was passed in. This effectively ensures
fragments inherit their parents ensure status.
2014-01-21 16:28:42 -05:00
Hunter Haugen
20e8d6e4f6
Convert specs to beaker and increase coverage
2014-01-16 16:49:30 -08:00