Knut Auvor Grythe
d432e4b990
Add support for unicode in all GECOS fields ( #32630 )
...
* Add support for unicode in all GECOS fields
* Stop exposing sdecode from salt.modules.useradd
* Slight rephrase of comment
* Fix lint errors
2016-04-18 08:56:40 -06:00
Shane Lee
97111bdc9b
Fix mac_service and mac_system modules ( #32587 )
...
* Fix mac_service module
* Add integration tests for new functions
* Start will not enable the service beforehand
* Remove unused variables
2016-04-15 15:49:44 -06:00
Justin Findlay
117d641830
tests.integration: fix 4230c8a
2016-04-08 16:54:00 -06:00
Justin Findlay
fa8d030ab7
tests.integration: bypass MacOS TMPDIR, gettempdir ( #32447 )
...
Updates 0edd532
, 8f558a5
.
When logging in as root over `ssh root@host`, `$TMPDIR` and
`tempfile.gettempdir()` are both set to a variation of:
```
/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
```
When logging in as root over `sudo -i`, `$TMPDIR` is unset and
`tempfile.gettempdir()` is set to `/tmp`.
My guess is that the second case is an unintended or uncorrected omision
by Apple as they have introduced the longer, randomized temp path in a
recent version of MacOS.
2016-04-08 16:00:48 -06:00
Justin Anderson
c6a1d8b7ba
Changed /tmp/ to /home/ user.present test
2016-03-31 15:13:58 -06:00
Mike Place
8ca6bf2177
Merge pull request #32259 from jfindlay/tmpdir
...
MacOS tmpdir
2016-03-31 08:31:07 -06:00
Justin Findlay
8f558a5f41
tests...runtests_helpers: TMPDIR on MacOS gives too long paths
2016-03-30 21:09:40 -06:00
Justin Findlay
0edd532add
tests.integration: TMPDIR on MacOS gives too long paths
2016-03-30 21:09:39 -06:00
Justin Findlay
c74c241831
tests.integration: use os.path.realpath
...
This reverts bf894c37
, 6b99798b
, and 4028d80e
. `os.path.realpath`
behaves identically to `salt.utils.abs_readlink` on the doc tests in
that function.
2016-03-30 21:09:39 -06:00
rallytime
fa5e17b342
Merge branch '2015.8' into '2016.3'
...
Conflicts:
- salt/modules/win_service.py
- salt/modules/zypper.py
- salt/states/pkgrepo.py
2016-03-30 15:33:13 -06:00
rallytime
d743f8cc4e
Merge branch '2015.5' into '2015.8'
...
Conflicts:
- salt/client/ssh/__init__.py
- salt/modules/aptpkg.py
- salt/modules/zypper.py
- salt/states/pkgrepo.py
2016-03-30 13:38:38 -06:00
Mike Place
4a5d1b1dd3
Merge pull request #31768 from twangboy/mac_xattr_int
...
Integration Tests for mac_xattr.py
2016-03-30 13:03:25 -06:00
Mike Place
2816982178
Merge pull request #31959 from twangboy/mac_timezone_int
...
Integration tests for mac_timezone.py
2016-03-30 13:03:15 -06:00
Mike Place
50e34574d7
Merge pull request #31840 from twangboy/mac_shadow_int
...
Integration tests for mac_shadow
2016-03-30 13:02:44 -06:00
twangboy
dfe148934b
Fix typo
2016-03-30 12:56:39 -06:00
twangboy
a45d2270df
Remove test for _convert_to_datetime
2016-03-30 12:56:39 -06:00
twangboy
845809139c
Add test for _convert_to_datetime
2016-03-30 12:56:39 -06:00
twangboy
3a6ad91509
Fix some pylint errors
2016-03-30 12:56:39 -06:00
twangboy
f1a5134b92
Total rewrite of mac_shadow.py
...
Updated mac_shadow integration tests
2016-03-30 12:56:39 -06:00
twangboy
c62920fb08
Add destructiveTest decorators
2016-03-30 12:56:39 -06:00
twangboy
9fe91a8fb5
Fix __random_string assignment
2016-03-30 12:56:39 -06:00
twangboy
1da27172b9
Add integration tests for mac_shadow
2016-03-30 12:56:39 -06:00
Mike Place
5d08db7c92
Merge pull request #32162 from terminalmage/issue31963
...
Properly handle yum/zypper repositories in pkgrepo.managed
2016-03-30 11:51:05 -06:00
Erik Johnson
5c1bdb812c
Fix pkgrepo integration test
...
Also re-enabled test on ubuntu 15.10.
2016-03-30 11:34:55 -05:00
Ch3LL
665468b5e8
fix pylint
2016-03-30 10:28:48 -06:00
twangboy
8ea709cc3f
Remove xattr.list from know_to_return_none
2016-03-30 08:56:49 -06:00
twangboy
cedc14e6f5
Fix tests for read and delete
2016-03-30 08:56:49 -06:00
twangboy
cbd868e12a
Improve integration tests
2016-03-30 08:56:49 -06:00
twangboy
1934a17f8e
Add additional error handling
2016-03-30 08:56:49 -06:00
twangboy
833d63c27d
Raise errors on command failures
2016-03-30 08:56:49 -06:00
twangboy
6f98a5204f
Fix xattr.list returning None
...
Fixes tests
Removes super calls from setUp and tearDown
2016-03-30 08:56:49 -06:00
twangboy
bacaa9c4c0
Add missing import
2016-03-30 08:56:49 -06:00
twangboy
1094754085
Gate the tests for Mac OS X
2016-03-30 08:56:49 -06:00
twangboy
ab205f52d4
Fix some lint errors
2016-03-30 08:56:49 -06:00
twangboy
cd4c84a7eb
Fix problem with xattr.list tests
2016-03-30 08:56:49 -06:00
twangboy
f54139fb9f
Fix some tests
2016-03-30 08:56:49 -06:00
twangboy
fd96733fc7
Put test file in correct state for each test
2016-03-30 08:56:49 -06:00
twangboy
212590b130
Add remaining test functions
2016-03-30 08:56:49 -06:00
twangboy
8b8d35ef8b
Add if main statement
2016-03-30 08:56:49 -06:00
twangboy
677c4384b0
Add integration test file for mac_xattr
2016-03-30 08:56:49 -06:00
twangboy
fedc5c367c
Use class attributes instead of global variables
2016-03-30 08:46:02 -06:00
twangboy
54059b33a0
Add global variables for setUp function
2016-03-30 08:46:02 -06:00
twangboy
fb82553be7
Add instructions for parallels time sync
...
Re-added tests that were having problems caused
by parallels time sync
2016-03-30 08:46:02 -06:00
twangboy
19ec1ea837
Fix some tests
2016-03-30 08:46:02 -06:00
twangboy
4e89f8f124
Fix tests
2016-03-30 08:46:02 -06:00
twangboy
1050dbe6ec
Simplified tests
2016-03-30 08:46:02 -06:00
twangboy
abfd8fbd85
Fix test_get_zonecode
2016-03-30 08:46:02 -06:00
twangboy
0ea5a6e91c
Fix test_get_time
2016-03-30 08:46:02 -06:00
twangboy
155694e4c1
Remove possible race conditions
2016-03-30 08:46:02 -06:00
twangboy
8fa35de6e5
Add destructiveTest decorators
2016-03-30 08:46:02 -06:00